diff --git a/build.sh b/build.sh index cd72f3a..92da768 100755 --- a/build.sh +++ b/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 diff --git a/functions/logging.sh b/functions/logging.sh index 11cb137..3f25bd2 100755 --- a/functions/logging.sh +++ b/functions/logging.sh @@ -1,6 +1,6 @@ log() { tput setaf 2 # Green color - date +"[%T] $@" | tee -a "$LOG_FILE" + date +"[%T] $@" tput sgr0 # No color }