[project @ 2005-04-19 12:50:52 by simonmar]
authorsimonmar <unknown>
Tue, 19 Apr 2005 12:50:52 +0000 (12:50 +0000)
committersimonmar <unknown>
Tue, 19 Apr 2005 12:50:52 +0000 (12:50 +0000)
Pass -ignore-dot-ghci to GHC

ghc/utils/runghc/runghc.hs

index 22719a3..949a330 100644 (file)
@@ -45,7 +45,8 @@ main = do
        dieProg "syntax: runghc [-f GHCPATH] FILE ARG..."
 
 doIt ghc filename args = do
-  res <- rawSystem ghc ["-e","System.Environment.withProgName "++show filename++" (System.Environment.withArgs ["
+  res <- rawSystem ghc ["-ignore-dot-ghci", 
+                       "-e","System.Environment.withProgName "++show filename++" (System.Environment.withArgs ["
                        ++ concat (intersperse "," (map show args))
                        ++ "] Main.main)", filename]
   exitWith res