mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
Make empty NOPLAN safe
This commit is contained in:
parent
b7a2b25eb2
commit
56aab7119e
@ -20,7 +20,7 @@ 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
|
||||
if [ -n "${NOPLAN:-}" ]; then
|
||||
echo '* DO NOT EDIT work/ files: commit to lts-haskell/build-constraints! *'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user