commit: 46ccbab9e840af610068c3fe15a2105c2871de89
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo
<DOT> org>
AuthorDate: Sat Jun 28 22:45:34 2014 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 22:45:34 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=46ccbab9
Replace the call of "portageq portdir" with "portageq get_repo_path / gentoo".
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT>
gentoo.org>
---
check_eclasses_eapis.sh | 2 +-
filesdir-usage.sh | 2 +-
portqa | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/check_eclasses_eapis.sh b/check_eclasses_eapis.sh
index ba85db6..86aa083 100755
--- a/check_eclasses_eapis.sh
+++ b/check_eclasses_eapis.sh
@@ -14,7 +14,7 @@ fi
KNOWN_EAPIS="unsupported 0 1 2 3 4 5"
TMPEAPIS="/tmp/$(basename $0).global.$$.tmp"
TMPECLASS="/tmp/$(basename $0).eclass.$$.tmp"
-pushd "$(portageq portdir)/eclass" > /dev/null
+pushd "$(portageq get_repo_path / gentoo)/eclass" > /dev/null
ECLASSES=$(echo *.eclass)
popd > /dev/null
pquery --attr eapi --attr inherited --raw --all --repo portdir > "${TMPEAPIS}"
diff --git a/filesdir-usage.sh b/filesdir-usage.sh
index 920b5af..d3ecd9b 100755
--- a/filesdir-usage.sh
+++ b/filesdir-usage.sh
@@ -3,7 +3,7 @@
# $1 is a number, N. The top N directories that are consuming space. Defaults
to
# all.
-pushd $(portageq portdir) >/dev/null
+pushd $(portageq get_repo_path / gentoo) >/dev/null
if [[ -z $1 ]]; then
du -h */*/files | sort -nr
else
diff --git a/portqa b/portqa
index d617a41..5bf48e2 100755
--- a/portqa
+++ b/portqa
@@ -16,7 +16,7 @@ else
fi
#-c pkgcore_checks.imlate \
-pushd "$(portageq portdir)" > /dev/null
+pushd "$(portageq get_repo_path / gentoo)" > /dev/null
package=$(pquery ${target} --repo=portdir --no-version | tr '\n' ' ')
pcheck -c pkgcore_checks.deprecated \
-c pkgcore_checks.whitespace \