Skip to content

Commit

Permalink
Merge pull request #6884 from phadej/sdist-data-files
Browse files Browse the repository at this point in the history
Fix sdist of packages with data-files
  • Loading branch information
phadej authored Jun 8, 2020
2 parents 8756a4a + cbea2ca commit e936f7d
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 e936f7d

Please sign in to comment.