diff options
author | Ian Lynagh <igloo@earth.li> | 2009-06-16 18:25:01 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-06-16 18:25:01 +0000 |
commit | 479829c435d1b19ac8e132dce40fd42ab63654f9 (patch) | |
tree | dde1077a4ca49fc03867421a8d40af7211f6fe94 /driver/ghci | |
parent | 89597d2148023abd5cc513ed52707dc8235a8be5 (diff) | |
download | haskell-479829c435d1b19ac8e132dce40fd42ab63654f9.tar.gz |
Fix the ghci wrapper
The ${1+"$@"} was being evaluated by make, rather than being escaped.
Diffstat (limited to 'driver/ghci')
-rw-r--r-- | driver/ghci/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/ghc.mk b/driver/ghci/ghc.mk index 4e6cc7b832..88c084d442 100644 --- a/driver/ghci/ghc.mk +++ b/driver/ghci/ghc.mk @@ -20,7 +20,7 @@ install_driver_ghci: "$(MKDIRHIER)" $(DESTDIR)$(bindir) "$(RM)" $(RM_OPTS) $(WRAPPER) echo '#!$(SHELL)' >> $(WRAPPER) - echo 'exec $(bindir)/ghc-$(ProjectVersion) --interactive ${1+"$@"}' >> $(WRAPPER) + echo 'exec $(bindir)/ghc-$(ProjectVersion) --interactive $${1+"$$@"}' >> $(WRAPPER) $(EXECUTABLE_FILE) $(WRAPPER) "$(RM)" $(RM_OPTS) $(DESTDIR)$(bindir)/ghci $(LN_S) ghci-$(ProjectVersion) $(DESTDIR)$(bindir)/ghci |