Commit 1bee68ef authored by Duncan Coutts's avatar Duncan Coutts
Browse files

findPackageDesc has to return a relative path for SrcDist

otherwise we fail to copy the .cabal file when into the src tree
parent 095b0631
......@@ -544,7 +544,7 @@ findPackageDesc _verbosity dir
= do files <- getDirectoryContents dir
case filter ((==".cabal") . takeExtension) files of
[] -> noDesc
[cabalFile] -> return (dir </> cabalFile)
[cabalFile] -> return cabalFile
multiple -> multiDesc multiple
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