commit: 404cdc26b8b203b7a1910be73f256a05a1e64b18
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu May 28 23:04:35 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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 <slyfox <AT> 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')