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 6EFB61381F3 for ; Wed, 9 Oct 2013 03:51:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0325AE0943; Wed, 9 Oct 2013 03:51:57 +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 93253E0943 for ; Wed, 9 Oct 2013 03:51:56 +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 AC49633ECAB for ; Wed, 9 Oct 2013 03:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 504FDE5308 for ; Wed, 9 Oct 2013 03:51:54 +0000 (UTC) From: "Chris Reffett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chris Reffett" Message-ID: <1381290649.0888ef0e5b21ad0adf56678604304ff000c5bd19.creffett@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: Documentation/maintainers/ X-VCS-Repository: proj/kde X-VCS-Files: Documentation/maintainers/bump_new_revision.sh X-VCS-Directories: Documentation/maintainers/ X-VCS-Committer: creffett X-VCS-Committer-Name: Chris Reffett X-VCS-Revision: 0888ef0e5b21ad0adf56678604304ff000c5bd19 X-VCS-Branch: master Date: Wed, 9 Oct 2013 03:51:54 +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: 261fd356-f1ff-4a94-982d-8fc6ad36c1e4 X-Archives-Hash: 6f049d0577a9e14b48f0080eb0569830 commit: 0888ef0e5b21ad0adf56678604304ff000c5bd19 Author: Chris Reffett gentoo org> AuthorDate: Wed Oct 9 03:50:49 2013 +0000 Commit: Chris Reffett gentoo org> CommitDate: Wed Oct 9 03:50:49 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0888ef0e [bump_new_revision.sh] Make script properly handle revbumped packages in overlay --- Documentation/maintainers/bump_new_revision.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/maintainers/bump_new_revision.sh b/Documentation/maintainers/bump_new_revision.sh index 18b9ea0..0c8bb16 100755 --- a/Documentation/maintainers/bump_new_revision.sh +++ b/Documentation/maintainers/bump_new_revision.sh @@ -361,7 +361,8 @@ case ${OPERATION} in # we need to copy the file we want to play with ## first generate the correct filename, we expect that if someone added -rX to the package it has reason. pushd "${OVERLAY}/${dir}" &> /dev/null - EBUILD=`find ./ -name \*.ebuild |grep "${VERSION}\\." | sort |tail -n 1` + EBUILD=`find ./ -name \*.ebuild | grep "${VERSION}\(\-r[0-9]\+\)\?\\." | sort |tail -n 1` + echo ${EBUILD} cp -f ${EBUILD} "${WRKDIR}" popd &> /dev/null _addcvsfile "${WRKDIR}" ${EBUILD/*\//}