diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-05-13 13:49:24 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-05-13 22:13:25 +0200 |
commit | 965dcfa448c38570cf9ac28d7c6232d1df615871 (patch) | |
tree | 3441bf2324d364b108166b8a2d91d2c67c8c719d /bin | |
parent | portageq-wrapper: New wrapper script (diff) | |
download | portage-965dcfa448c38570cf9ac28d7c6232d1df615871.tar.gz portage-965dcfa448c38570cf9ac28d7c6232d1df615871.tar.bz2 portage-965dcfa448c38570cf9ac28d7c6232d1df615871.zip |
portageq-wrapper: Look for portageq also in PORTAGE_BIN_PATH
Suggested-by: Arfrever Frehtes Taifersar Arahesis <arfrever@apache.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/portageq-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/portageq-wrapper b/bin/portageq-wrapper index 2ca4052c4..afa2defe1 100755 --- a/bin/portageq-wrapper +++ b/bin/portageq-wrapper @@ -8,7 +8,7 @@ cd "${PORTAGE_PYM_PATH}" || exit 1 IFS=":" set -f # in case ${PATH} contains any shell glob characters -for path in ${PATH}; do +for path in "${PORTAGE_BIN_PATH}" ${PATH}; do [[ ${path} == */portage/*/ebuild-helpers* ]] && continue [[ -x ${path}/portageq ]] || continue PYTHONPATH=${PORTAGE_PYTHONPATH:-${PORTAGE_PYM_PATH}} \ |