Fix prepareCabalHelper when dist/ doesn't exist yet

This commit is contained in:
Daniel Gröber 2015-08-14 04:28:22 +02:00
parent 0b5de23ac9
commit f998c63c73

View File

@ -133,7 +133,7 @@ prepareCabalHelper = do
let projdir = cradleRootDir crdl
distdir = projdir </> "dist"
readProc <- gmReadProcess
liftIO $ prepare readProc projdir distdir
withCabal $ liftIO $ prepare readProc projdir distdir
withCabal :: (IOish m, GmEnv m, GmLog m) => m a -> m a
withCabal action = do