summaryrefslogtreecommitdiff
path: root/testsuite/mk/test.mk
diff options
context:
space:
mode:
authorGabor Pali <pali.gabor@gmail.com>2013-04-21 23:35:48 +0200
committerGabor Pali <pali.gabor@gmail.com>2013-04-21 23:35:48 +0200
commit8394c0e5d85dac009acc716ed2abc92f5fedf778 (patch)
tree01fd82f7e6cc7ad19047f4170b79dc871163b247 /testsuite/mk/test.mk
parentc3d24366aea5589ee419403a6a8450242b9e21a8 (diff)
downloadhaskell-8394c0e5d85dac009acc716ed2abc92f5fedf778.tar.gz
Fix library flavor detection for the validate script as well
Diffstat (limited to 'testsuite/mk/test.mk')
-rw-r--r--testsuite/mk/test.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index 5c9e1ad184..ae4f083bbf 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -48,9 +48,9 @@ RUNTEST_OPTS += -e ghc_with_native_codegen=0
endif
BASE_LIBDIR := $(shell "$(GHC_PKG)" field base library-dirs | sed 's/^[^:]*: *//')
-HAVE_VANILLA := $(shell if [ -f "$(subst \,/,$(BASE_LIBDIR))/Prelude.hi" ]; then echo YES; else echo NO; fi)
-HAVE_DYNAMIC := $(shell if [ -f "$(subst \,/,$(BASE_LIBDIR))/Prelude.dyn_hi" ]; then echo YES; else echo NO; fi)
-HAVE_PROFILING := $(shell if [ -f "$(subst \,/,$(BASE_LIBDIR))/Prelude.p_hi" ]; then echo YES; else echo NO; fi)
+HAVE_VANILLA := $(shell if [ -f '$(subst \,/,$(BASE_LIBDIR))/Prelude.hi' ]; then echo YES; else echo NO; fi)
+HAVE_DYNAMIC := $(shell if [ -f '$(subst \,/,$(BASE_LIBDIR))/Prelude.dyn_hi' ]; then echo YES; else echo NO; fi)
+HAVE_PROFILING := $(shell if [ -f '$(subst \,/,$(BASE_LIBDIR))/Prelude.p_hi' ]; then echo YES; else echo NO; fi)
ifeq "$(HAVE_VANILLA)" "YES"
RUNTEST_OPTS += -e ghc_with_vanilla=1