From 1f15d4f6c0817e49f4ecda6012e6f3a906656fe6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Sep 2026 13:47:59 +0800 Subject: [PATCH] run-lts.sh: Usage help --- automated/run-lts.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/automated/run-lts.sh b/automated/run-lts.sh index 41ef1e26..947c4806 100755 --- a/automated/run-lts.sh +++ b/automated/run-lts.sh @@ -2,6 +2,11 @@ cd "$(dirname "${BASH_SOURCE[0]}")" +if [ -z "$1" ]; + echo "Usage: $0 lts-X.Y" + exit 1 +fi + git pull LOG_FILE="logs/$1-build-$(date -u +%F+%T).log" if [ -L $1-build.log ]; then