From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SCsij-0001H4-Oi for garchives@archives.gentoo.org; Wed, 28 Mar 2012 13:15:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46613E0D3D; Wed, 28 Mar 2012 13:15:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 173A1E0D3D for ; Wed, 28 Mar 2012 13:15:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 752DB1B400F for ; Wed, 28 Mar 2012 13:15:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3167EE542C for ; Wed, 28 Mar 2012 13:15:11 +0000 (UTC) From: "Maxim Koltsov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maxim Koltsov" Message-ID: <1332940504.bda388a7936d0aa2305877fd9e0a4cf56f0ac77d.maksbotan@gentoo> Subject: [gentoo-commits] dev/maksbotan:master commit in: Documentation/ X-VCS-Repository: dev/maksbotan X-VCS-Files: Documentation/leech_bump.sh X-VCS-Directories: Documentation/ X-VCS-Committer: maksbotan X-VCS-Committer-Name: Maxim Koltsov X-VCS-Revision: bda388a7936d0aa2305877fd9e0a4cf56f0ac77d X-VCS-Branch: master Date: Wed, 28 Mar 2012 13:15:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 46de51a6-00b8-44b6-bbfb-cf1233edfe28 X-Archives-Hash: 9aae1166ad8e5a89af5f9360049e89be commit: bda388a7936d0aa2305877fd9e0a4cf56f0ac77d Author: Maxim Koltsov gentoo org> AuthorDate: Wed Mar 28 13:15:04 2012 +0000 Commit: Maxim Koltsov gentoo org> CommitDate: Wed Mar 28 13:15:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/maksbotan.git;= a=3Dcommit;h=3Dbda388a7 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=3D"1" - shift ;; -N|--no-changelog) run_changelog=3D"0" - shift ;; -v|--version) version=3D"${2}" @@ -99,6 +97,13 @@ case $mode in if [[ -z "${message}" ]]; then message_stub=3D1 fi + if [[ -z ${keywords} ]]; then + if [[ ${bump_from}} =3D=3D 9999 ]]; then + keyword=3D"~amd64 ~x86" + else + keyword=3D"~all" + fi + fi ;; commit) if [[ -z "${message}" ]]; then @@ -179,8 +184,9 @@ for atom in */*; do cp ${PN}-{${bump_from},${version}}.ebuild eend $? =20 + ebegin "Setting keywords on ${PN}-${version}.ebuild" - ekeyword ~all ${PN}-${version}.ebuild > /dev/null + ekeyword ${keyword} ${PN}-${version}.ebuild > /dev/null eend $? =20 ebegin "Running repoman manifest on ${atom}"