summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/make-sdist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/make-sdist.sh b/Build/make-sdist.sh
index 5443e43..d4dbdb9 100755
--- a/Build/make-sdist.sh
+++ b/Build/make-sdist.sh
@@ -13,7 +13,7 @@ find . \( -name .git -or -name dist -or -name cabal-dev \) -prune \
| 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.