From 4a5569ff37ae771560e56b564f3b15477b828a79 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 2 Aug 2009 16:12:37 +0000 Subject: Fix permissions when installing --- utils/ghc-pkg/ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/ghc-pkg/ghc.mk') diff --git a/utils/ghc-pkg/ghc.mk b/utils/ghc-pkg/ghc.mk index 289c67c328..6c582d0dd0 100644 --- a/utils/ghc-pkg/ghc.mk +++ b/utils/ghc-pkg/ghc.mk @@ -95,7 +95,7 @@ install: install_utils/ghc-pkg_link .PNONY: install_utils/ghc-pkg_link install_utils/ghc-pkg_link: - "$(MKDIRHIER)" $(DESTDIR)$(bindir) + $(INSTALL_DIR) $(DESTDIR)$(bindir) "$(RM)" $(RM_OPTS) $(DESTDIR)$(bindir)/ghc-pkg $(LN_S) ghc-pkg-$(ProjectVersion) $(DESTDIR)$(bindir)/ghc-pkg endif -- cgit v1.2.1