Skip to content

Commit

Permalink
Fix sdist of packages with data-files
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Jun 7, 2020
1 parent 8756a4a commit cbea2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/Distribution/Simple/SrcDist.hs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ listPackageSources' verbosity rip cwd pkg_descr pps =
srcDataDir = if null srcDataDirRaw
then "."
else srcDataDirRaw
in fmap (fmap (\p -> cwd </> srcDataDir </> p)) $
in fmap (fmap (\p -> srcDataDir </> p)) $
matchDirFileGlob verbosity (specVersion pkg_descr) srcDataDir filename

-- Extra source files.
Expand Down

0 comments on commit cbea2ca

Please sign in to comment.