cabal-tweak-flag: add missing 'not' to an error message (#1184508)
thanks to Ian Collier for the report
This commit is contained in:
parent
4b3c2433d5
commit
1107962ad8
@ -29,7 +29,7 @@ if [ $(echo $CABALFILE | wc -w) -ne 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! grep -q -i "^flag *$FLAG" $CABALFILE; then
|
if ! grep -q -i "^flag *$FLAG" $CABALFILE; then
|
||||||
echo "$CABALFILE does have flag $FLAG"
|
echo "$CABALFILE does not have flag $FLAG"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user