Commit a73898fa authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Fix cabal sdist --snapshot

parent 437b3468
......@@ -58,7 +58,7 @@ sdist flags = do
_ <- if snapshot
then prepareSnapshotTree verbosity pkg' mb_lbi distPref tmpDir pps
else prepareTree verbosity pkg' mb_lbi distPref tmpDir pps
targzFile <- createArchive verbosity pkg tmpDir distPref
targzFile <- createArchive verbosity pkg' tmpDir distPref
notice verbosity $ "Source tarball created: " ++ targzFile
where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment