commit:     d615f2c860f3121fa028d08191ad21f3202d04ff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 19:54:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 19:54:08 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d615f2c8

eapi-usage.sh: fully respect ${REPO_PATH}

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eapi-usage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eapi-usage.sh b/eapi-usage.sh
index 7dc6e7d..8706fb8 100755
--- a/eapi-usage.sh
+++ b/eapi-usage.sh
@@ -65,7 +65,7 @@ rm -r "${TMPDIR}" || exit 1
 #
 #pinspect eapi_usage /usr/portage
 echo "<pre>"
-find /usr/portage/metadata/md5-cache -type f ! -name '*.gz' \
+find "${REPO_PATH}"/metadata/md5-cache -type f ! -name '*.gz' \
   -exec grep -h '^EAPI=' '{}' + \
   | awk '
     { sub("EAPI=",""); eapi[$1]++ }

Reply via email to