summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-11 19:02:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-11 19:02:28 -0400
commitdc2f80d106b1abca527048f42f1e4acc866e2d84 (patch)
treef64025e49de670f5e1b1ebef49e79bc4e662c4e1
parent7dbd3857b91e5acb05f6477f5c97c1aeae9eeee3 (diff)
parent79ff4071c1b852d86e5323a9f5b71d8d7bd6c76e (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rwxr-xr-xBuild/make-sdist.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/make-sdist.sh b/Build/make-sdist.sh
index 950334532..6e1ddae62 100755
--- a/Build/make-sdist.sh
+++ b/Build/make-sdist.sh
@@ -9,11 +9,12 @@ mkdir --parents dist/$sdist_dir
find . \( -name .git -or -name dist -or -name cabal-dev \) -prune \
-or -not -name \\*.orig -not -type d -print \
-| perl -ne "print unless length >= 100 - length q{$sdist_dir}" \
-| xargs cp --parents --target-directory dist/$sdist_dir
+ | perl -ne "print unless length >= 100 - length q{$sdist_dir}" \
+ | grep -v ':' \
+ | xargs cp --parents --target-directory dist/$sdist_dir
cd dist
-tar -caf $sdist_dir.tar.gz $sdist_dir
+tar --format=ustar -caf $sdist_dir.tar.gz $sdist_dir
# Check that tarball can be unpacked by cabal.
# It's picky about tar longlinks etc.