summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist8
1 files changed, 4 insertions, 4 deletions
diff --git a/make-dist b/make-dist
index 26247b37bca..48c7fb4fb7e 100755
--- a/make-dist
+++ b/make-dist
@@ -639,14 +639,14 @@ if [ "${make_tar}" = yes ]; then
case "${default_gzip}" in
bzip2) gzip_extension=.bz2 ;;
xz) gzip_extension=.xz ;;
- gzip) gzip_extension=.gz ; default_gzip="gzip --best";;
+ gzip) gzip_extension=.gz ; default_gzip="gzip --best --no-name";;
*) gzip_extension= ;;
esac
echo "Creating tar file"
- taropt=
- [ "$verbose" = "yes" ] && taropt=v
+ taropt='--numeric-owner --owner=0 --group=0 --mode=go+u,go-w --sort=name'
+ [ "$verbose" = "yes" ] && taropt="$taropt --verbose"
- (cd ${tempparent} ; tar c${taropt}f - ${emacsname} ) \
+ (cd ${tempparent} ; tar $taropt -cf - ${emacsname} ) \
| ${default_gzip} \
> ${emacsname}.tar${gzip_extension}
fi