Deleted cabal-dev before checking plan

This commit is contained in:
Michael Snoyman 2012-11-22 15:09:57 +02:00
parent d0b28169f6
commit bcabc00040

View File

@ -16,10 +16,11 @@ build :: IO ()
build = do
ii <- getInstallInfo
rm_r "cabal-dev"
checkPlan ii
putStrLn "No mismatches, starting the sandboxed build."
rm_r "cabal-dev"
ph <- withBinaryFile "build.log" WriteMode $ \handle ->
runProcess "cabal-dev" ("install":"-fnetwork23":iiPackageList ii) Nothing Nothing Nothing (Just handle) (Just handle)
ec <- waitForProcess ph