[ghc-rpm-macros] cabal-tweak-flag: add missing 'not' to an error message (#1184508)

Jens Petersen petersen at fedoraproject.org
Thu Jan 22 01:25:53 UTC 2015


commit 1107962ad8dbbe25edf291614eccac8b3de04086
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jan 22 10:24:41 2015 +0900

    cabal-tweak-flag: add missing 'not' to an error message (#1184508)
    
    thanks to Ian Collier for the report

 cabal-tweak-flag |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cabal-tweak-flag b/cabal-tweak-flag
index a357bd3..2bf3a42 100755
--- a/cabal-tweak-flag
+++ b/cabal-tweak-flag
@@ -29,7 +29,7 @@ if [ $(echo $CABALFILE | wc -w) -ne 1 ]; then
 fi
 
 if ! grep -q -i "^flag *$FLAG" $CABALFILE; then
-   echo "$CABALFILE does have flag $FLAG"
+   echo "$CABALFILE does not have flag $FLAG"
    exit 1
 fi
 


More information about the scm-commits mailing list