From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C828215808B for ; Sun, 10 Apr 2022 11:37:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACBE3E08FB; Sun, 10 Apr 2022 11:37:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84695E08FB for ; Sun, 10 Apr 2022 11:37:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C71803416D9 for ; Sun, 10 Apr 2022 11:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F10A396 for ; Sun, 10 Apr 2022 11:37:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1649590640.26c57df5469813c897b8c7d34a969a3dc483e019.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: / X-VCS-Repository: proj/gcc-patches X-VCS-Files: make-tarball.sh X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 26c57df5469813c897b8c7d34a969a3dc483e019 X-VCS-Branch: master Date: Sun, 10 Apr 2022 11:37:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7d16ce87-baea-4a28-be74-b1a29c592c47 X-Archives-Hash: e2f34505fd7ab81a0263be9f6131eefc commit: 26c57df5469813c897b8c7d34a969a3dc483e019 Author: Sam James gentoo org> AuthorDate: Sun Apr 10 11:37:20 2022 +0000 Commit: Sam James gentoo 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 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} ]] && {