Remove build log
This commit is contained in:
parent
2a6016b717
commit
eb89de4899
1
build.sh
1
build.sh
|
@ -7,7 +7,6 @@ export SCRIPT_DIR="$BASE_DIR/scripts"
|
|||
export FUNCTIONS_DIR="$BASE_DIR/functions"
|
||||
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
log() {
|
||||
tput setaf 2 # Green color
|
||||
date +"[%T] $@" | tee -a "$LOG_FILE"
|
||||
date +"[%T] $@"
|
||||
tput sgr0 # No color
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue