commit: 5aef5b8f16a3cf7b84029e0933d6a681538cf9bc
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 8 10:20:05 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jun 8 10:20:05 2015 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5aef5b8f
[Documentation] Fix deprecated portdir command.
Documentation/maintainers/bump_new_revision.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/maintainers/bump_new_revision.sh
b/Documentation/maintainers/bump_new_revision.sh
index bdbf257..3de45c0 100755
--- a/Documentation/maintainers/bump_new_revision.sh
+++ b/Documentation/maintainers/bump_new_revision.sh
@@ -116,7 +116,7 @@ update_keywords() {
KEYWORDS=
elif (( version_patch < 50 )); then
# Patch version is < 50 - stable release, try
to obtain keywords from tree
- if pushd "$(portageq portdir)/${2}" &>
/dev/null; then
+ if pushd "$(portageq get_repo_path /
gentoo)/${2}" &> /dev/null; then
KEYWORDS=$(ls -1r *-4*.ebuild | grep -v
${BUMP_VERSION} | grep -v 4\\.4\\.11 | grep ${SLOT} | head -n 1 | xargs sed -ne
's/^KEYWORDS="\(.*\)"/\1/p')
[[ -z ${KEYWORDS} ]] &&
KEYWORDS=${MINIMAL_KEYWORDS}
else
@@ -258,7 +258,7 @@ case ${OPERATION} in
INFO_LIST=
for EBUILD_BASEDIR in ${EBUILD_BASEDIR_LIST}; do
EBUILD_BASENAME=${EBUILD_BASEDIR/*\//}
- #OLD_BASE="$(portageq portdir)"/"${EBUILD_BASEDIR}"/
+ #OLD_BASE="$(portageq get_repo_path /
gentoo)"/"${EBUILD_BASEDIR}"/
OLD_BASE="${PORTDIR_BUMPING}"/"${EBUILD_BASEDIR}"/ #
uncoment if you work in overlay only
# by default we should pick-up live stable or live
ebuilds. But we need to restore the keywords from the previous version of kde
# ie. bumping 4.4.92 you set keywords to "~amd64 ~x86"
but ebuilds from 9999 (before tagging) or 4.5.9999 (after tagging).