diff --git a/Makefile b/Makefile index afd2de99e0..786fd919e4 100644 --- a/Makefile +++ b/Makefile @@ -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 -type f -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)!i" < git-annex.cabal.orig > git-annex.cabal @cabal sdist @mv git-annex.cabal.orig git-annex.cabal diff --git a/git-annex.cabal b/git-annex.cabal index 54a526160e..d5a066cdff 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 3.20110702 +Version: 3.20110702.2 Cabal-Version: >= 1.6 License: GPL Maintainer: Joey Hess