Quoting fix
authorIan Lynagh <igloo@earth.li>
Wed, 21 Oct 2009 11:40:48 +0000 (11:40 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 21 Oct 2009 11:40:48 +0000 (11:40 +0000)
testsuite/mk/test.mk

index f04fa6f..e2ee118 100644 (file)
@@ -43,7 +43,7 @@ else
 RUNTEST_OPTS += -e ghc_with_native_codegen=0
 endif
 
-HAVE_PROFILING:=$(if $(wildcard $(shell $(GHC_PKG) field haskell98 library-dirs | sed 's/^[^:]*: *//')/libHShaskell98-*_p.a),YES,NO)
+HAVE_PROFILING:=$(if $(wildcard $(shell "$(GHC_PKG)" field haskell98 library-dirs | sed 's/^[^:]*: *//')/libHShaskell98-*_p.a),YES,NO)
 
 ifeq "$(HAVE_PROFILING)" "YES"
 RUNTEST_OPTS += -e ghc_with_profiling=1