From 85a01ed58c81cb0db78bc210f3a0bf2aab4356c2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jan 2024 13:52:57 +0800 Subject: [PATCH] build.sh: for lts warn not to edit work files manually [skip ci] --- automated/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automated/build.sh b/automated/build.sh index 474febc8..95ecb42c 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -14,6 +14,9 @@ if [ $SHORTNAME = "lts" ] then TAG=$(echo $TARGET | sed 's@^lts-\([0-9]*\)\.[0-9]*@lts\1@') WORKDIR=$ROOT/work/$(echo $TARGET | sed 's@^lts-\([0-9]*\)\.[0-9]*@lts-\1@') + if [ -n "$NOPLAN" ]; then + echo '* DO NOT EDIT work/ files: commit to lts-haskell/build-constraints! *' + fi else TAG=$SHORTNAME WORKDIR=$ROOT/work/$TAG