[project @ 2005-10-28 15:22:39 by simonmar]
[ghc-hetmet.git] / ghc / compiler / main / Main.hs
index a9c4122..95891f7 100644 (file)
@@ -240,7 +240,7 @@ checkOptions cli_mode dflags srcs objs = do
 -- 
 verifyOutputFiles :: DynFlags -> IO ()
 verifyOutputFiles dflags = do
-  let odir = outputDir dflags
+  let odir = objectDir dflags
   when (isJust odir) $ do
      let dir = fromJust odir
      flg <- doesDirectoryExist dir