diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-17 12:25:28 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-17 12:36:55 +0000 |
commit | 90dc2234c18772c47e9f97148211d097ab3161a9 (patch) | |
tree | 2c36d61d671b31af6c38eb0685f28cf6401733f1 /testsuite/mk | |
parent | 6e5aa9e48b11b63016952eff6b72543e4079ab77 (diff) | |
download | haskell-90dc2234c18772c47e9f97148211d097ab3161a9.tar.gz |
fix (non-fast) validate
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index 881e8d7ed9..dd5be687a0 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -138,10 +138,12 @@ PYTHON = python $(TOP_ABS)/mk/ghc-config : $(TOP_ABS)/mk/ghc-config.hs "$(TEST_HC)" --make -o $@ $< -ghc-config-mk = $(TOP_ABS)/mk/ghcconfig$(subst /,_,$(subst \,_,$(TEST_HC))).mk +empty= +space=$(empty) $(empty) +ghc-config-mk = $(TOP_ABS)/mk/ghcconfig$(subst $(space),_,$(subst /,_,$(subst \,_,$(TEST_HC)))).mk $(ghc-config-mk) : $(TOP_ABS)/mk/ghc-config - $(TOP_ABS)/mk/ghc-config $(TEST_HC) >$@ + $(TOP_ABS)/mk/ghc-config "$(TEST_HC)" >"$@" || $(RM) "$@" include $(ghc-config-mk) |