From 0888ef0e5b21ad0adf56678604304ff000c5bd19 Mon Sep 17 00:00:00 2001 From: Chris Reffett Date: Tue, 8 Oct 2013 23:50:49 -0400 Subject: [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(-) (limited to 'Documentation') diff --git a/Documentation/maintainers/bump_new_revision.sh b/Documentation/maintainers/bump_new_revision.sh index 18b9ea0fe1..0c8bb160c8 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/*\//} -- cgit v1.2.3-65-gdbad