From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 776931381F3 for ; Tue, 14 May 2013 18:22:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08B87E089D; Tue, 14 May 2013 18:22:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1F63E089D for ; Tue, 14 May 2013 18:22:12 +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 B789433E04D for ; Tue, 14 May 2013 18:22:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3E16AE5308 for ; Tue, 14 May 2013 18:22:10 +0000 (UTC) From: "Markus Meier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markus Meier" Message-ID: <1368556020.dc1e5e478c7035d4916d1ac2d4b3c2fcd43f9e7c.maekke@gentoo> Subject: [gentoo-commits] dev/maekke:master commit in: scripts/ X-VCS-Repository: dev/maekke X-VCS-Files: scripts/keyword.sh X-VCS-Directories: scripts/ X-VCS-Committer: maekke X-VCS-Committer-Name: Markus Meier X-VCS-Revision: dc1e5e478c7035d4916d1ac2d4b3c2fcd43f9e7c X-VCS-Branch: master Date: Tue, 14 May 2013 18:22:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7e0e04e9-8758-469e-9dc8-dda96cd6991d X-Archives-Hash: 93d2aa1a2b43446f42b59fb9018fa33e commit: dc1e5e478c7035d4916d1ac2d4b3c2fcd43f9e7c Author: Markus Meier gentoo org> AuthorDate: Tue May 14 18:27:00 2013 +0000 Commit: Markus Meier gentoo org> CommitDate: Tue May 14 18:27:00 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/maekke.git;a=commit;h=dc1e5e47 fix --include-arches... --- scripts/keyword.sh | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/keyword.sh b/scripts/keyword.sh index 9e556ae..208101c 100755 --- a/scripts/keyword.sh +++ b/scripts/keyword.sh @@ -46,8 +46,6 @@ arches="${2}" shift 2 pkgs="$@" -REPOMAN_OPTS="--include-arches "${arches//\~/}"" - # check if arches are sane for arch in ${arches} ; do [[ $(egrep "\<${arch/\~/}\>" ${REPODIR}/profiles/arch.list | wc -l) == 0 ]] && die "invalid arch (${arch})" @@ -70,7 +68,7 @@ for pkg in ${pkgs} ; do cvs up -C || die "cvs up failed" find . -name '.#*' -delete || die "removing .#* failed" [[ -e ${pn}-${version}.ebuild ]] || die "ebuild (${pn}-${version}) not found" - repoman full \${REPOMAN_OPTS} || die "repoman full failed on non-modified tree" + repoman full --include-arches "${arches//\~/}" || die "repoman full failed on non-modified tree" # detect which arches to commit (the ones w/o stable) tmparches="" @@ -91,10 +89,10 @@ for pkg in ${pkgs} ; do if [[ -n ${tmparches} ]] ; then ekeyword ${tmparches} ${pn}-${version}.ebuild || die "ebuild not found" repoman manifest || die "repoman manifest failed" - repoman full \${REPOMAN_OPTS} || die "repoman full failed on modified tree" + repoman full --include-arches "${arches//\~/}" || die "repoman full failed on modified tree" echangelog "${msg}" || die "echangelog failed" repoman manifest || die "repoman manifest failed" - repoman commit \${REPOMAN_OPTS} -m "${msg}" || die "repoman commit failed" + repoman commit --include-arches "${arches//\~/}" -m "${msg}" || die "repoman commit failed" else echo "nothing to do here" fi