Fix code style
This commit is contained in:
parent
4b4031ef19
commit
b61769bbfd
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export IMG_DATE=${IMG_DATE:-"$(date +%Y-%m-%d)"}
|
||||
export IMG_DATE="$(date +%Y-%m-%d)"
|
||||
|
||||
export BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
export SCRIPT_DIR="${BASE_DIR}/scripts"
|
||||
export WORK_DIR=${WORK_DIR:-"${BASE_DIR}/work/${IMG_DATE}-${IMG_NAME}"}
|
||||
export DEPLOY_DIR=${DEPLOY_DIR:-"${BASE_DIR}/deploy"}
|
||||
export LOG_FILE="${WORK_DIR}/build.log"
|
||||
export SCRIPT_DIR="$BASE_DIR/scripts"
|
||||
export WORK_DIR="$BASE_DIR/work/$IMG_DATE-$IMG_NAME"
|
||||
export DEPLOY_DIR="$BASE_DIR/deploy"
|
||||
export LOG_FILE="$WORK_DIR/build.log"
|
||||
|
||||
export CLEAN
|
||||
export IMG_NAME
|
||||
|
|
Reference in a new issue