summaryrefslogtreecommitdiff
path: root/p/haskell-reflection
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-06-16 11:27:33 +0300
committerJoachim Breitner <mail@joachim-breitner.de>2015-06-16 11:27:33 +0300
commitb4279aeb82cbb5008724508c201f1d62694c9c63 (patch)
treea23587b01f6f734875b43f14f2acf3c26ae43248 /p/haskell-reflection
parent58bf7aa38d1fcd0b1528d98ea03b9ebfee9c2a87 (diff)
downloadDHG_packages-b4279aeb82cbb5008724508c201f1d62694c9c63.tar.gz
haskell-reflection: Use grep -q, that’s what it is for
Diffstat (limited to 'p/haskell-reflection')
-rwxr-xr-xp/haskell-reflection/debian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/haskell-reflection/debian/rules b/p/haskell-reflection/debian/rules
index b09e21e03..33f3cefba 100755
--- a/p/haskell-reflection/debian/rules
+++ b/p/haskell-reflection/debian/rules
@@ -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