build.sh: for lts warn not to edit work files manually

[skip ci]
This commit is contained in:
Jens Petersen 2024-01-19 13:52:57 +08:00
parent 4057446c64
commit 85a01ed58c

View File

@ -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