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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3157B1382C5 for ; Thu, 28 May 2020 23:04:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54ED6E0880; Thu, 28 May 2020 23:04:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D7DBE0880 for ; Thu, 28 May 2020 23:04:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4AA4A34F09D for ; Thu, 28 May 2020 23:04:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF735232 for ; Thu, 28 May 2020 23:04:52 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1590707075.404cdc26b8b203b7a1910be73f256a05a1e64b18.slyfox@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: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 404cdc26b8b203b7a1910be73f256a05a1e64b18 X-VCS-Branch: master Date: Thu, 28 May 2020 23:04:52 +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: cc35fbcd-b1e5-4d25-93f3-4258f0bded51 X-Archives-Hash: 72cdf721a5c1bf73149a35c84becc433 commit: 404cdc26b8b203b7a1910be73f256a05a1e64b18 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu May 28 23:04:35 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu May 28 23:04:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=404cdc26 make-tarball.sh: add patchset creation against live ebuilds Signed-off-by: Sergei Trofimovich gentoo.org> make-tarball.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make-tarball.sh b/make-tarball.sh index a626a3d..18dfe47 100755 --- a/make-tarball.sh +++ b/make-tarball.sh @@ -25,6 +25,7 @@ rm -f ${digest/gcc\//gcc\/files\/digest-} gver=${ebuild##*/gcc/gcc-} # trim leading path gver=${gver%%.ebuild} # trim post .ebuild gver=${gver%%-*} # trim any -r#'s +gver=${gver%%_pre*} # trim any _pre.*#'s # trim branch update number sgver=$(echo ${gver} | sed -e 's:[0-9]::g')