Commit b4279aeb authored by Joachim Breitner's avatar Joachim Breitner

haskell-reflection: Use grep -q, that’s what it is for

parent 58bf7aa3
#!/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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment