diff options
author | Sam James <sam@gentoo.org> | 2022-03-14 22:45:04 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-14 22:52:00 +0000 |
commit | c3638d2240dce9c4c65a547e5371f7b49c426912 (patch) | |
tree | c33bc5112b486710522c12995b8bf4e9a5a7ab9d /check_eclasses_eapis.sh | |
parent | check_eclasses_eapis.sh: use mktemp (diff) | |
download | qa-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-x | check_eclasses_eapis.sh | 2 |
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 |