aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2004-08-10 14:33:46 +0000
committersimonmar <unknown>2004-08-10 14:33:46 +0000
commit814766cd8057e692d640c62c3ce9097c0c88d534 (patch)
treea2498a98e286e86591f4b11fce0420532c5f220c /src/Main.hs
parent7b865ad373612e93c9b62db0b5efe14524caa388 (diff)
[haddock @ 2004-08-10 14:33:45 by simonmar]
Fixes to installation under Windows.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 08c3ba7a..d4488b24 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -161,10 +161,11 @@ run flags files = do
(t:_) -> Just t
libdir <- case [str | Flag_Lib str <- flags] of
- [] -> do maybe_exec_dir <- getBaseDir -- Get directory of executable
+ [] -> do maybe_exec_dir <- getBaseDir
+ -- Get directory of executable
case maybe_exec_dir of
Nothing -> return "."
- Just dir -> return (dir ++ "\\imports")
+ Just dir -> return dir
fs -> return (last fs)
let css_file = case [str | Flag_CSS str <- flags] of