[Bug 1184508] New: cabal-tweak-flag: "CABALFILE does have flag"

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 21 15:01:30 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1184508

            Bug ID: 1184508
           Summary: cabal-tweak-flag: "CABALFILE does have flag"
           Product: Fedora
           Version: 20
         Component: ghc-rpm-macros
          Severity: low
          Assignee: petersen at redhat.com
          Reporter: imc at cs.ox.ac.uk
        QA Contact: extras-qa at fedoraproject.org
                CC: haskell-devel at lists.fedoraproject.org,
                    petersen at redhat.com



Confusing error message in cabal-tweak-flag, as follows:

if ! grep -q -i "^flag *$FLAG" $CABALFILE; then
   echo "$CABALFILE does have flag $FLAG"
   exit 1
fi

It seems this should rather say "does not have flag".

Observed in: ghc-rpm-macros-1.0.7.4-1.fc20.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=XLxj3Uwz15&a=cc_unsubscribe


More information about the haskell-devel mailing list