aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-10 19:47:44 +0000
committerIan Lynagh <igloo@earth.li>2008-09-10 19:47:44 +0000
commit6c7b7f069fc7439d46f86baec14d6f6279d264c3 (patch)
treed3c458457297d5c3dc270048a1ca1bca22b1b285
parent2093fd2d30a5fbc015fac37fb2e27d5ba628c8f2 (diff)
Fix haddock inplace on Windows
-rw-r--r--src/Main.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 3e9d6422..99887bbe 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -212,9 +212,7 @@ render flags interfaces installedIfaces = do
do m <- getExecDir
case m of
Nothing -> error "No libdir found"
- Just d ->
- return (d </> ".." </> "share"
- </> ("haddock-" ++ showVersion version))
+ Just d -> return (d </> ".." </> "share")
#else
getDataDir -- provided by Cabal
#endif