aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-14 22:45:04 +0000
committerSam James <sam@gentoo.org>2022-03-14 22:52:00 +0000
commitc3638d2240dce9c4c65a547e5371f7b49c426912 (patch)
treec33bc5112b486710522c12995b8bf4e9a5a7ab9d /check_eclasses_eapis.sh
parentcheck_eclasses_eapis.sh: use mktemp (diff)
downloadqa-scripts-c3638d2240dce9c4c65a547e5371f7b49c426912.tar.gz
qa-scripts-c3638d2240dce9c4c65a547e5371f7b49c426912.tar.bz2
qa-scripts-c3638d2240dce9c4c65a547e5371f7b49c426912.zip
check_eclasses_eapis.sh: respect ${EROOT}
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'check_eclasses_eapis.sh')
-rwxr-xr-xcheck_eclasses_eapis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_eclasses_eapis.sh b/check_eclasses_eapis.sh
index 31a2bbb..899b1c3 100755
--- a/check_eclasses_eapis.sh
+++ b/check_eclasses_eapis.sh
@@ -14,7 +14,7 @@ fi
TMPEAPIS="$(mktemp -t $(basename $0).global.tmp.XXXXXX)"
TMPECLASS="$(mktemp -t $(basename $0).eclass.tmp.XXXXXX)"
-REPO_PATH=$(portageq get_repo_path / gentoo)
+REPO_PATH=$(portageq get_repo_path ${EROOT:-/} gentoo)
pushd "${REPO_PATH}/eclass" > /dev/null
ECLASSES=$(echo *.eclass)
popd > /dev/null