1 |
commit: 46ccbab9e840af610068c3fe15a2105c2871de89 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 28 22:45:34 2014 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 28 22:45:34 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=46ccbab9 |
7 |
|
8 |
Replace the call of "portageq portdir" with "portageq get_repo_path / gentoo". |
9 |
|
10 |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
check_eclasses_eapis.sh | 2 +- |
14 |
filesdir-usage.sh | 2 +- |
15 |
portqa | 2 +- |
16 |
3 files changed, 3 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/check_eclasses_eapis.sh b/check_eclasses_eapis.sh |
19 |
index ba85db6..86aa083 100755 |
20 |
--- a/check_eclasses_eapis.sh |
21 |
+++ b/check_eclasses_eapis.sh |
22 |
@@ -14,7 +14,7 @@ fi |
23 |
KNOWN_EAPIS="unsupported 0 1 2 3 4 5" |
24 |
TMPEAPIS="/tmp/$(basename $0).global.$$.tmp" |
25 |
TMPECLASS="/tmp/$(basename $0).eclass.$$.tmp" |
26 |
-pushd "$(portageq portdir)/eclass" > /dev/null |
27 |
+pushd "$(portageq get_repo_path / gentoo)/eclass" > /dev/null |
28 |
ECLASSES=$(echo *.eclass) |
29 |
popd > /dev/null |
30 |
pquery --attr eapi --attr inherited --raw --all --repo portdir > "${TMPEAPIS}" |
31 |
|
32 |
diff --git a/filesdir-usage.sh b/filesdir-usage.sh |
33 |
index 920b5af..d3ecd9b 100755 |
34 |
--- a/filesdir-usage.sh |
35 |
+++ b/filesdir-usage.sh |
36 |
@@ -3,7 +3,7 @@ |
37 |
# $1 is a number, N. The top N directories that are consuming space. Defaults to |
38 |
# all. |
39 |
|
40 |
-pushd $(portageq portdir) >/dev/null |
41 |
+pushd $(portageq get_repo_path / gentoo) >/dev/null |
42 |
if [[ -z $1 ]]; then |
43 |
du -h */*/files | sort -nr |
44 |
else |
45 |
|
46 |
diff --git a/portqa b/portqa |
47 |
index d617a41..5bf48e2 100755 |
48 |
--- a/portqa |
49 |
+++ b/portqa |
50 |
@@ -16,7 +16,7 @@ else |
51 |
fi |
52 |
|
53 |
#-c pkgcore_checks.imlate \ |
54 |
-pushd "$(portageq portdir)" > /dev/null |
55 |
+pushd "$(portageq get_repo_path / gentoo)" > /dev/null |
56 |
package=$(pquery ${target} --repo=portdir --no-version | tr '\n' ' ') |
57 |
pcheck -c pkgcore_checks.deprecated \ |
58 |
-c pkgcore_checks.whitespace \ |