From: Ian Lynagh Date: Sat, 3 Nov 2007 18:02:59 +0000 (+0000) Subject: MERGED: installPackage needs to treat $httptopdir the same as $topdir X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6fcf0b702c292d3c648f53627ec601e9c1c2f4ac;p=ghc-hetmet.git MERGED: installPackage needs to treat $httptopdir the same as $topdir Sun Oct 28 06:45:34 PDT 2007 Ian Lynagh --- diff --git a/libraries/installPackage.hs b/libraries/installPackage.hs index 6e5914d..c255103 100644 --- 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.