From d61dc09ae63bf78dc63129636f5c5f49b2e6d2cf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 23 Feb 2026 17:33:43 +0800 Subject: [PATCH] automated/run-lts.sh: sync run-nightly tweaks [skip ci] --- automated/run-lts.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/automated/run-lts.sh b/automated/run-lts.sh index 61a05789..87c5d7df 100755 --- a/automated/run-lts.sh +++ b/automated/run-lts.sh @@ -4,7 +4,10 @@ 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 +fi ln -sf $LOG_FILE lts-build.log -time script -q -c "./build.sh $*" $LOG_FILE +time script -c "./build.sh $*" $LOG_FILE touch -h lts-build.log date