summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsven.panne@aedion.de <unknown>2007-09-16 08:43:39 +0000
committersven.panne@aedion.de <unknown>2007-09-16 08:43:39 +0000
commit6cc7a2957040c2d751a14c3776cf144152be4dd0 (patch)
tree325c7bd328825034eba54aa1e87ca8f88dc1d06a
parent2069911cfbc3d31dfdb34845b3fe17ab7b770aa6 (diff)
downloadhaskell-6cc7a2957040c2d751a14c3776cf144152be4dd0.tar.gz
Make DESTDIR work again
installPackage is a horror, using --force is probably not the perfect way to make DESTDIR functionality work again, but given the current state of affairs, I can't find a quick and clean solution. MERGE TO STABLE
-rw-r--r--libraries/installPackage.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/installPackage.hs b/libraries/installPackage.hs
index 475a55e31e..5946a6b3db 100644
--- a/libraries/installPackage.hs
+++ b/libraries/installPackage.hs
@@ -85,7 +85,7 @@ doit destdir ipref ibindir ilibdir ilibexecdir idatadir idocdir
prog = ConfiguredProgram {
programId = programName ghcPkgProgram,
programVersion = Nothing,
- programArgs = ["--global-conf", ghcpkgconf],
+ programArgs = ["--force", "--global-conf", ghcpkgconf],
programLocation = UserSpecified ghcpkg
}
progs' = updateProgram prog progs