diff --git a/automated/run-lts.sh b/automated/run-lts.sh index 87c5d7df..f043cd60 100755 --- a/automated/run-lts.sh +++ b/automated/run-lts.sh @@ -5,7 +5,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")" git pull LOG_FILE="logs/$1-build-$(date -u +%F+%T).log" if [ -L $1-build.log ]; then - mv -f $1-build.log $1-build-previous.log + mv -f $1-build.log $1-build.log-prev fi ln -sf $LOG_FILE lts-build.log time script -c "./build.sh $*" $LOG_FILE diff --git a/automated/run-nightly.sh b/automated/run-nightly.sh index cb88bfdd..9224e1ea 100755 --- a/automated/run-nightly.sh +++ b/automated/run-nightly.sh @@ -11,7 +11,7 @@ while true; do git pull LOG_FILE="logs/nightly-build-$(date -u +%F+%T).log" if [ -L nightly-build.log ]; then - mv -f nightly-build.log nightly-build-previous.log + mv -f nightly-build.log nightly-build.log-prev fi ln -sf $LOG_FILE nightly-build.log time script -c "./build.sh nightly-$(date -u +%F) $cmd" $LOG_FILE