From 3fb5ae5605bdf489c66ed02a187f358d19abe73b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 18 Feb 2026 21:29:11 +0800 Subject: [PATCH] automated fixup: touch the symlink not the log file! --- automated/run-lts.sh | 2 +- automated/run-nightly.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/automated/run-lts.sh b/automated/run-lts.sh index 0fbe318f..569f6ea7 100755 --- a/automated/run-lts.sh +++ b/automated/run-lts.sh @@ -6,5 +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 +touch -h lts-build.log date diff --git a/automated/run-nightly.sh b/automated/run-nightly.sh index 73597a07..7f473a23 100755 --- a/automated/run-nightly.sh +++ b/automated/run-nightly.sh @@ -15,7 +15,7 @@ while true; do fi ln -sf $LOG_FILE nightly-build.log time script -c "./build.sh nightly-$(date -u +%F) $cmd" $LOG_FILE - touch -h $LOG_FILE + touch -h nightly-build.log ${cmd:+exit 0} ${once:+date; exit 0} echo "$0: run completed at $(date)"