Make "runghc -f path-to-ghc Main.hs" work
authorMagnus Jonsson <magnus@smartelectronix.com>
Sun, 29 Jul 2007 21:02:30 +0000 (21:02 +0000)
committerMagnus Jonsson <magnus@smartelectronix.com>
Sun, 29 Jul 2007 21:02:30 +0000 (21:02 +0000)
utils/runghc/runghc.hs

index cdf06dc..6896a68 100644 (file)
@@ -39,6 +39,8 @@ import System.Directory ( findExecutable )
 main = do 
   args <- getArgs
   case args of
+    ("-f" : ghc : args) -> do
+        doIt ghc args
     ('-':'f' : ghc) : args -> do
        doIt (dropWhile isSpace ghc) args
     args -> do