diff options
author | Ian Lynagh <igloo@earth.li> | 2009-08-02 16:12:37 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-08-02 16:12:37 +0000 |
commit | 4a5569ff37ae771560e56b564f3b15477b828a79 (patch) | |
tree | 8ddeff4260f9cdcb62a527136c3bc804f7ffcb2c /driver | |
parent | 6f476448854b3775b806b6a07a530aa2b70ea02f (diff) | |
download | haskell-4a5569ff37ae771560e56b564f3b15477b828a79.tar.gz |
Fix permissions when installing
Diffstat (limited to 'driver')
-rw-r--r-- | driver/ghci/ghc.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/ghci/ghc.mk b/driver/ghci/ghc.mk index 88c084d442..9abccc368a 100644 --- a/driver/ghci/ghc.mk +++ b/driver/ghci/ghc.mk @@ -17,8 +17,9 @@ install: install_driver_ghci .PHONY: install_driver_ghci install_driver_ghci: WRAPPER=$(DESTDIR)$(bindir)/ghci-$(ProjectVersion) install_driver_ghci: - "$(MKDIRHIER)" $(DESTDIR)$(bindir) + $(INSTALL_DIR) $(DESTDIR)$(bindir) "$(RM)" $(RM_OPTS) $(WRAPPER) + $(CREATE_SCRIPT) $(WRAPPER) echo '#!$(SHELL)' >> $(WRAPPER) echo 'exec $(bindir)/ghc-$(ProjectVersion) --interactive $${1+"$$@"}' >> $(WRAPPER) $(EXECUTABLE_FILE) $(WRAPPER) |