public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maxim Koltsov" <maksbotan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/maksbotan:master commit in: Documentation/
Date: Wed, 28 Mar 2012 13:15:11 +0000 (UTC)	[thread overview]
Message-ID: <1332940504.bda388a7936d0aa2305877fd9e0a4cf56f0ac77d.maksbotan@gentoo> (raw)

commit:     bda388a7936d0aa2305877fd9e0a4cf56f0ac77d
Author:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 28 13:15:04 2012 +0000
Commit:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Wed Mar 28 13:15:04 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/maksbotan.git;a=commit;h=bda388a7

Change keyword processing, fix argument parsing in leechcraft script

---
 Documentation/leech_bump.sh |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/leech_bump.sh b/Documentation/leech_bump.sh
index 3ceb6f1..0f6f932 100755
--- a/Documentation/leech_bump.sh
+++ b/Documentation/leech_bump.sh
@@ -55,11 +55,9 @@ while (($#)); do
             ;;
         -c|--changelog)
             run_changelog="1"
-            shift
             ;;
         -N|--no-changelog)
             run_changelog="0"
-            shift
             ;;
        -v|--version)
             version="${2}"
@@ -99,6 +97,13 @@ case $mode in
         if [[ -z "${message}" ]]; then
             message_stub=1
         fi
+        if [[ -z ${keywords} ]]; then
+            if [[ ${bump_from}} == 9999 ]]; then
+                keyword="~amd64 ~x86"
+            else
+                keyword="~all"
+            fi
+        fi
         ;;
     commit)
         if [[ -z "${message}" ]]; then
@@ -179,8 +184,9 @@ for atom in */*; do
         cp ${PN}-{${bump_from},${version}}.ebuild
         eend $?
     
+
         ebegin "Setting keywords on ${PN}-${version}.ebuild"
-        ekeyword ~all ${PN}-${version}.ebuild > /dev/null
+        ekeyword ${keyword} ${PN}-${version}.ebuild > /dev/null
         eend $?
     
         ebegin "Running repoman manifest on ${atom}"



             reply	other threads:[~2012-03-28 13:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 13:15 Maxim Koltsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-26 19:58 [gentoo-commits] dev/maksbotan:master commit in: Documentation/ Maxim Koltsov
2012-08-14 20:26 Maxim Koltsov
2012-07-19 19:17 Maxim Koltsov
2012-02-20 19:18 Maxim Koltsov
2012-02-02 17:57 Maxim Koltsov
2012-01-24 17:28 Maxim Koltsov
2011-12-31 12:34 Maxim Koltsov
2011-12-31 12:34 Maxim Koltsov
2011-09-14 18:16 Maxim Koltsov
2011-09-14 17:01 Maxim Koltsov

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=1332940504.bda388a7936d0aa2305877fd9e0a4cf56f0ac77d.maksbotan@gentoo \
    --to=maksbotan@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