From dee8c13e529feab2ede52ee0651a778b41daf3a6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 18 Feb 2026 20:15:49 +0800 Subject: [PATCH] automated: touch the log symlinks when finished --- automated/run-lts.sh | 1 + automated/run-nightly.sh | 1 + 2 files changed, 2 insertions(+) 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)"