diff --git a/automated/run-lts.sh b/automated/run-lts.sh index b5296ece..0fbe318f 100755 --- a/automated/run-lts.sh +++ b/automated/run-lts.sh @@ -6,4 +6,5 @@ git pull LOG_FILE="$1-build-$(date -u +%F_%T).log" ln -sf $LOG_FILE lts-build.log time script -q -c "./build.sh $*" $LOG_FILE +touch -h $LOG_FILE date diff --git a/automated/run-nightly.sh b/automated/run-nightly.sh index 6df0a147..031cecf0 100755 --- a/automated/run-nightly.sh +++ b/automated/run-nightly.sh @@ -15,6 +15,7 @@ while true; do fi ln -sf $LOG_FILE nightly-build.log time script -q -c "./build.sh nightly-$(date -u +%F) $cmd" $LOG_FILE + touch -h $LOG_FILE ${cmd:+exit 0} ${once:+date; exit 0} echo "$0: run completed at $(date)"