Skip to content

Commit

Permalink
Tidy up the driver slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Lynagh committed May 10, 2013
1 parent 1527869 commit 82ebad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/test.mk
Expand Up @@ -47,7 +47,7 @@ else
RUNTEST_OPTS += -e ghc_with_native_codegen=0
endif

BASE_LIBDIR := $(shell "$(GHC_PKG)" field base library-dirs | sed 's/^[^:]*: *//')
BASE_LIBDIR := $(shell "$(GHC_PKG)" field base library-dirs --simple-output)
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)
Expand Down

0 comments on commit 82ebad7

Please sign in to comment.