Empty logfile on bootstrap script start

This commit is contained in:
Kristóf Tóth 2018-03-24 11:48:54 +01:00
parent 89d465ab6f
commit 368d660fe4
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ FRONTEND=frontend-${TFW_POSTFIX}
LOGFILE=/tmp/bootstrap_tfw.log
trap 'echo "Something went wrong. Read the log az $LOGFILE"' ERR
: > $LOGFILE
echo -n "Cloning TFW repositories... "
echo -n "baseimage... " && git clone git@github.com:avatao-content/${BASEIMAGE}.git >> $LOGFILE 2>&1
echo -n "frontend... " && git clone git@github.com:avatao-content/${FRONTEND}.git >> $LOGFILE 2>&1