diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-06-25 14:51:28 -0500 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-06-25 15:28:10 -0500 |
commit | 4410f5d86997b6b238ff05c2ece338b28e1163b1 (patch) | |
tree | 8f6dd4d4f9d9e6b2cb7d75256166ee724776ffab /make-dist | |
parent | b0ed2d1f46d27885a19ae6941b6ea5276f0050e0 (diff) | |
download | emacs-4410f5d86997b6b238ff05c2ece338b28e1163b1.tar.gz |
Port distribution tarball to Solaris 10
* make-dist (taropt): Use 'tar -H ustar' to generate a portable
tar file format instead of a GNU-specific format. Needed now that
Emacs tarballs contain file names longer than 100 bytes, e.g.:
emacs-28.1/test/lisp/gnus/mml-sec-resources/private-keys-v1.d/C072AF82DCCCB9A7F1B85FFA10B802DC4ED16703.key
emacs-28.1/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-run-hook-with-args-until-success.el
Without this patch, extracting a tarball on Solaris 10 fails with
many diagnostics like “tar: ././@LongLink: typeflag 'L' not
recognized, converting to regular file”.
Diffstat (limited to 'make-dist')
-rwxr-xr-x | make-dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make-dist b/make-dist index 447e90f018e..67e49382d07 100755 --- a/make-dist +++ b/make-dist @@ -485,6 +485,8 @@ if [ "${make_tar}" = yes ]; then esac echo "Creating tar file" taropt='--numeric-owner --owner=0 --group=0 --mode=go+u,go-w' + tar -H ustar -cf /dev/null $tempdir/src/lisp.h 2>/dev/null && + taropt="$taropt -H ustar" tar --sort=name -cf /dev/null $tempdir/src/lisp.h 2>/dev/null && taropt="$taropt --sort=name" [ "$verbose" = "yes" ] && taropt="$taropt --verbose" |