summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-05-08 20:36:40 +0200
committerTomas Chvatal <scarabeus@gentoo.org>2009-05-08 20:36:40 +0200
commitce77cd46357b155b49e21962fffa5a89956cf26e (patch)
tree39672a79664170f8059ababec1a44e5db9ea0819
parent8ee0c44f3a354f70059376b6387625810b8fd95b (diff)
downloadkde-ce77cd46357b155b49e21962fffa5a89956cf26e.tar.gz
kde-ce77cd46357b155b49e21962fffa5a89956cf26e.tar.bz2
kde-ce77cd46357b155b49e21962fffa5a89956cf26e.zip
Fix more issues
-rwxr-xr-xDocumentation/maintainers/bump_new_revision.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/maintainers/bump_new_revision.sh b/Documentation/maintainers/bump_new_revision.sh
index dc0908f7dac..a525cd607de 100755
--- a/Documentation/maintainers/bump_new_revision.sh
+++ b/Documentation/maintainers/bump_new_revision.sh
@@ -304,15 +304,12 @@ case ${OPERATION} in
PN=`echo ${P1} | sed -e "s:${P1/*-/}::g" -e "s:-$::g"`
if [[ $(cat ${EBUILD} | sed -e "s:\${PN}:${PN}:g" -e "s:\${PV}:${PV}:g" -e "s:\${P}:${PN}-${PV}:g" |grep "${PATCH}" |wc -l) -gt 0 ]]; then
PATCH_IN_USE="true"
- popd &> /dev/null
break
fi
done
if [[ ${PATCH_IN_USE} = "false" ]]; then
echo "Removing ${PATCH}. No longer used in package ${EBUILD_BASEDIR}."
- pushd files/ &> /dev/null
- git rm -rf $(find ./ -type f -name ${PATCH})
- popd &> /dev/null
+ git rm -rf $(find ./files/ -type f -name ${PATCH})
fi
done
fi