commit: 26c57df5469813c897b8c7d34a969a3dc483e019
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 10 11:37:20 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 10 11:37:20 2022 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=26c57df5
make-tarball.sh: just use -a to tar
This is what I'd really meant to do the other day for .xz;
let tar autodetect based on extension.
Signed-off-by: Sam James <sam <AT> gentoo.org>
make-tarball.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/make-tarball.sh b/make-tarball.sh
index 94035e3..1d08c02 100755
--- a/make-tarball.sh
+++ b/make-tarball.sh
@@ -113,23 +113,23 @@ find tmp/ -name CVS -type d | xargs rm -rf
# standard jobbies
[[ -n ${PATCH_VER} ]] && {
-tar -Jcf gcc-${sgver}-patches-${PATCH_VER}.tar.xz \
+tar -acf gcc-${sgver}-patches-${PATCH_VER}.tar.xz \
-C tmp patch || exit 1 ; }
[[ -n ${MUSL_VER} ]] && {
-tar -Jcf gcc-${sgver}-musl-patches-${MUSL_VER}.tar.xz \
+tar -acf gcc-${sgver}-musl-patches-${MUSL_VER}.tar.xz \
-C tmp musl || exit 1 ; }
[[ -n ${PIE_VER} ]] && {
-tar -Jcf gcc-${sgver}-piepatches-v${PIE_VER}.tar.xz \
+tar -acf gcc-${sgver}-piepatches-v${PIE_VER}.tar.xz \
-C tmp piepatch || exit 1 ; }
[[ -n ${SPECS_VER} ]] && {
-tar -Jcf gcc-${sgver}-specs-${SPECS_VER}.tar.xz \
+tar -acf gcc-${sgver}-specs-${SPECS_VER}.tar.xz \
-C tmp specs || exit 1 ; }
[[ -n ${PP_VER} ]] && {
mv tmp/ssp/protector.patch tmp/ssp/gcc-${gver}-ssp.patch
-tar -Jcf gcc-${gver}-ssp-${PP_VER}.tar.xz \
+tar -acf gcc-${gver}-ssp-${PP_VER}.tar.xz \
-C tmp ssp || exit 1 ; }
[[ -d ${gver}/man ]] && {
-tar -Jcf gcc-${MAN_VER}-manpages.tar.xz \
+tar -acf gcc-${MAN_VER}-manpages.tar.xz \
-C tmp/man . || exit 1 ; }
# extra cruft
[[ -n ${HTB_VER} ]] && {