aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-21 11:19:00 +0000
committerIan Lynagh <igloo@earth.li>2008-09-21 11:19:00 +0000
commitb041d5b0ada87401a861909db62b4ee95b25c061 (patch)
tree6a54911c4e33e651a61ee56a918b1c3ec8a02be6 /src/Main.hs
parent155c63a969b217994f6cb7f64ff29e0b47de934d (diff)
Fix paths used on Windows frmo a GHC tree: There is no whare directory
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 3710487c..febe7467 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -220,7 +220,7 @@ render flags interfaces installedIfaces = do
do m <- getExecDir
case m of
Nothing -> error "No libdir found"
- Just d -> return (d </> ".." </> "share")
+ Just d -> return (d </> "..")
#else
getDataDir -- provided by Cabal
#endif