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 /rules/shell-wrapper.mk | |
parent | 6f476448854b3775b806b6a07a530aa2b70ea02f (diff) | |
download | haskell-4a5569ff37ae771560e56b564f3b15477b828a79.tar.gz |
Fix permissions when installing
Diffstat (limited to 'rules/shell-wrapper.mk')
-rw-r--r-- | rules/shell-wrapper.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk index acdb06e72d..312504e278 100644 --- a/rules/shell-wrapper.mk +++ b/rules/shell-wrapper.mk @@ -57,8 +57,9 @@ install: install_$1_$2_wrapper .PHONY: install_$1_$2_wrapper install_$1_$2_wrapper: WRAPPER=$$(DESTDIR)$$(bindir)/$$($1_$2_INSTALL_SHELL_WRAPPER_NAME) install_$1_$2_wrapper: - "$$(MKDIRHIER)" $$(DESTDIR)$$(bindir) + $$(INSTALL_DIR) $$(DESTDIR)$$(bindir) "$$(RM)" $$(RM_OPTS) $$(WRAPPER) + $$(CREATE_SCRIPT) $$(WRAPPER) echo '#!$$(SHELL)' >> $$(WRAPPER) echo 'executablename=$$(libexecdir)/$$($1_$2_PROG)' >> $$(WRAPPER) echo 'datadir=$$(datadir)' >> $$(WRAPPER) |