diff options
author | Ian Lynagh <igloo@earth.li> | 2011-07-17 19:58:37 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-07-17 19:58:37 +0100 |
commit | c21e57b2877669e107e44503496ec1a5a412a4a1 (patch) | |
tree | 542cdc786a7162ec59b7aacce6c748db4bd01225 /ghc.mk | |
parent | 318438136c3b2ab9b49856a074245599208be377 (diff) | |
download | haskell-c21e57b2877669e107e44503496ec1a5a412a4a1.tar.gz |
Fix permissions of package.cache when installing; fixes trac #5311
When we install the packages, ghc-pkg obeys umask when creating
package.cache, but for everything else we specify the permissions. We
therefore fix the permissions of package.cache afterwards.
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -888,6 +888,10 @@ install_packages: libffi/package.conf.install rts/package.conf.install $(call make-command, \ "$(INSTALLED_GHC_PKG_REAL)" \ --global-conf "$(INSTALLED_PACKAGE_CONF)" hide $p)) +# when we install the packages above, ghc-pkg obeys umask when creating +# package.cache, but for everything else we specify the permissions. We +# therefore now fix the permissions of package.cache + $(CREATE_DATA) '$(INSTALLED_PACKAGE_CONF)/package.cache' # ----------------------------------------------------------------------------- # Binary distributions |