Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: /
Date: Thu, 28 May 2020 23:04:56
Message-Id: 1590707075.404cdc26b8b203b7a1910be73f256a05a1e64b18.slyfox@gentoo
1 commit: 404cdc26b8b203b7a1910be73f256a05a1e64b18
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 28 23:04:35 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu May 28 23:04:35 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=404cdc26
7
8 make-tarball.sh: add patchset creation against live ebuilds
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 make-tarball.sh | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/make-tarball.sh b/make-tarball.sh
16 index a626a3d..18dfe47 100755
17 --- a/make-tarball.sh
18 +++ b/make-tarball.sh
19 @@ -25,6 +25,7 @@ rm -f ${digest/gcc\//gcc\/files\/digest-}
20 gver=${ebuild##*/gcc/gcc-} # trim leading path
21 gver=${gver%%.ebuild} # trim post .ebuild
22 gver=${gver%%-*} # trim any -r#'s
23 +gver=${gver%%_pre*} # trim any _pre.*#'s
24
25 # trim branch update number
26 sgver=$(echo ${gver} | sed -e 's:[0-9]::g')