summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorGeoffrey Mainland <gmainlan@microsoft.com>2013-02-22 15:26:55 +0000
committerGeoffrey Mainland <gmainlan@microsoft.com>2013-02-22 16:42:20 +0000
commit1a3247f6a5d98c15139e8650c88a61284a786731 (patch)
tree4b6c90660736f30fe27f3b2c0cf53c52adf803d7 /ghc
parent96ce0b026eb95ae19a9d4a7df2601f299576f84a (diff)
downloadhaskell-1a3247f6a5d98c15139e8650c88a61284a786731.tar.gz
Always quote arguments to removeFiles (fixes Windows install).
Thanks to Daniel Pratt <colorblinddad@gmail.com> for pointing out the failure and fix.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index 554660e812..5c37115886 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -177,7 +177,7 @@ else
install: install_ghc_post
.PHONY: install_ghc_post
install_ghc_post: install_bins
- $(call removeFiles,$(DESTDIR)$(bindir)/ghc.exe)
+ $(call removeFiles,"$(DESTDIR)$(bindir)/ghc.exe")
"$(MV)" -f $(DESTDIR)$(bindir)/ghc-stage$(INSTALL_GHC_STAGE).exe $(DESTDIR)$(bindir)/$(CrossCompilePrefix)ghc.exe
endif