projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4890aa
)
MERGED: installPackage needs to treat $httptopdir the same as $topdir
author
Ian Lynagh
<igloo@earth.li>
Sat, 3 Nov 2007 18:02:59 +0000
(18:02 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 3 Nov 2007 18:02:59 +0000
(18:02 +0000)
Sun Oct 28 06:45:34 PDT 2007 Ian Lynagh <igloo@earth.li>
libraries/installPackage.hs
patch
|
blob
|
history
diff --git
a/libraries/installPackage.hs
b/libraries/installPackage.hs
index
6e5914d
..
c255103
100644
(file)
--- a/
libraries/installPackage.hs
+++ b/
libraries/installPackage.hs
@@
-105,6
+105,8
@@
doit verbosity ghcpkg ghcpkgconf destdir topdir
replaceTopdir :: FilePath -> FilePath -> FilePath
replaceTopdir topdir ('$':'t':'o':'p':'d':'i':'r':p) = topdir ++ p
+replaceTopdir topdir ('$':'h':'t':'t':'p':'t':'o':'p':'d':'i':'r':p)
+ = topdir ++ p
replaceTopdir _ p = p
-- Get the build info, merging the setup-config and buildinfo files.