diff options
author | Joey Hess <joey@kitenet.net> | 2011-07-07 19:49:24 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-07-07 19:50:14 -0400 |
commit | 8c1fa1ab5f15c096e76fd2727f41b3bc042a2f3a (patch) | |
tree | 40fabf7b10a9688f24e2a135356b7a92a8035640 /Makefile | |
parent | f7be0d5077ef95fa76332c8ede5aec3cb0acf408 (diff) |
add a nasty workaround for a nasty cabal limitation
It croaks on long filenames.. probably >= 100 chars
100 characters was a (historial) limit on filenames in tarballs.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ clean: # generate a file list there. sdist: clean @if [ ! -e git-annex.cabal.orig ]; then cp git-annex.cabal git-annex.cabal.orig; fi - @sed -e "s!\(Extra-Source-Files: \).*!\1$(shell find . -name .git -prune -or -not -name \\*.orig -not -type d -print)!i" < git-annex.cabal.orig > git-annex.cabal + @sed -e "s!\(Extra-Source-Files: \).*!\1$(shell find . -name .git -prune -or -not -name \\*.orig -not -type d -print | perl -ne 'print unless length >= 100')!i" < git-annex.cabal.orig > git-annex.cabal @cabal sdist @mv git-annex.cabal.orig git-annex.cabal |