[commit: packages/Cabal] ghc-head: Fix path template substitution for sysconfdir. (0b66c70)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:31:04 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=0b66c70d7d67fbd761b99f64f73f80653892e044

>---------------------------------------------------------------

commit 0b66c70d7d67fbd761b99f64f73f80653892e044
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Fri Aug 23 15:52:26 2013 +0200

    Fix path template substitution for sysconfdir.


>---------------------------------------------------------------

0b66c70d7d67fbd761b99f64f73f80653892e044
 Cabal/Distribution/Simple/InstallDirs.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cabal/Distribution/Simple/InstallDirs.hs b/Cabal/Distribution/Simple/InstallDirs.hs
index 088672e..93a956b 100644
--- a/Cabal/Distribution/Simple/InstallDirs.hs
+++ b/Cabal/Distribution/Simple/InstallDirs.hs
@@ -294,7 +294,7 @@ substituteInstallDirTemplates env dirs = dirs'
       htmldir    = subst htmldir    (prefixBinLibDataVars ++ [docdirVar]),
       haddockdir = subst haddockdir (prefixBinLibDataVars ++
                                       [docdirVar, htmldirVar]),
-      sysconfdir = subst sysconfdir []
+      sysconfdir = subst sysconfdir [prefixVar]
     }
     subst dir env' = substPathTemplate (env'++env) (dir dirs)
 





More information about the ghc-commits mailing list