[Pkg-haskell-commits] darcs: haskell-reflection: Use grep -q, that’s what it is for
Joachim Breitner
mail at joachim-breitner.de
Tue Jun 16 08:34:48 UTC 2015
Tue Jun 16 08:27:33 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Use grep -q, that[_<U+2019>_]s what it is for
M ./rules -1 +1
Tue Jun 16 08:27:33 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Use grep -q, thats what it is for
diff -rN -u old-haskell-reflection/rules new-haskell-reflection/rules
--- old-haskell-reflection/rules 2015-06-16 08:34:47.956856145 +0000
+++ new-haskell-reflection/rules 2015-06-16 08:34:47.960856140 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
+ifeq (0,$(shell ghc --info | grep -q 'Have interpreter.*YES'; echo $$?))
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=template-haskell
else
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-template-haskell
More information about the Pkg-haskell-commits
mailing list