public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/toolchain/binutils-patches:master commit in: /
Date: Tue, 17 Aug 2021 20:47:38 +0000 (UTC)	[thread overview]
Message-ID: <1629233230.1f8e02859a351250c9ba3999b0aae28abb259641.dilfridge@gentoo> (raw)

commit:     1f8e02859a351250c9ba3999b0aae28abb259641
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 20:47:10 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 20:47:10 2021 +0000
URL:        https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=1f8e0285

Allow for Gentoo-specific patch versions

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 make-tarball.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/make-tarball.sh b/make-tarball.sh
index d681384..463cb4a 100755
--- a/make-tarball.sh
+++ b/make-tarball.sh
@@ -46,11 +46,14 @@ mydescpatches=$(git describe)
 cd "${mypathbinutils}"
 
 # check that we're on a branch gentoo/${PV}
+# note that we allow for gentoo-specific patch versions, ie.,
+# * the PV 2.37_p1 lives on branch 2.37
+# * the PV 2.37.1  lives on branch 2.37.1
 
 mybranchinfo=$(git status --porcelain -b|grep '^##')
 mybranch=$(echo ${mybranchinfo}|sed -e 's:^## ::' -e 's:\.\.\..*$::')
-if [[ ! "gentoo/binutils-${PV}" == "${mybranch}" ]] ; then
-	echo "Error: Your git repository is on the incorrect branch ${mybranch}; should be gentoo/binutils-${PV}"
+if [[ ! "gentoo/binutils-${PV%_p?}" == "${mybranch}" ]] ; then
+	echo "Error: Your git repository is on the incorrect branch ${mybranch}; should be gentoo/binutils-${PV%_p?}"
 	exit 1
 fi
 


             reply	other threads:[~2021-08-17 20:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 20:47 Andreas K. Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-12 13:40 [gentoo-commits] proj/toolchain/binutils-patches:master commit in: / Sam James
2021-08-17 22:04 Andreas K. Hüttel
2020-07-25 11:08 Andreas K. Hüttel
2020-07-25 11:08 Andreas K. Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629233230.1f8e02859a351250c9ba3999b0aae28abb259641.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox