From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-809112-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id F3C84138CDD
	for <garchives@archives.gentoo.org>; Mon,  8 Jun 2015 10:21:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 22687E099D;
	Mon,  8 Jun 2015 10:21:14 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C852DE099D
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jun 2015 10:21:13 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A7A7E340821
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jun 2015 10:21:12 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 37DDBA1C
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jun 2015 10:21:11 +0000 (UTC)
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" <mrueg@gentoo.org>
Message-ID: <1433758805.5aef5b8f16a3cf7b84029e0933d6a681538cf9bc.mrueg@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: mrueg
X-VCS-Committer-Name: Manuel Rüger
X-VCS-Revision: 5aef5b8f16a3cf7b84029e0933d6a681538cf9bc
X-VCS-Branch: master
Date: Mon,  8 Jun 2015 10:21:11 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 5cb9d639-58b7-4dc9-9d36-3783315e7471
X-Archives-Hash: 6338069126b6e006ff993c934dc89458

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).