From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E52315806E for ; Sat, 13 May 2023 20:29:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5003AE07EC; Sat, 13 May 2023 20:29:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31B2AE07EC for ; Sat, 13 May 2023 20:29:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2CBC9340E64 for ; Sat, 13 May 2023 20:29:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70F31A62 for ; Sat, 13 May 2023 20:29:46 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1684008805.965dcfa448c38570cf9ac28d7c6232d1df615871.ulm@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/portageq-wrapper X-VCS-Directories: bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 965dcfa448c38570cf9ac28d7c6232d1df615871 X-VCS-Branch: master Date: Sat, 13 May 2023 20:29:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1062fca-0dc7-4966-a038-637c69e5ab88 X-Archives-Hash: b4fd46a848b1a240bf6acfab01eb473a commit: 965dcfa448c38570cf9ac28d7c6232d1df615871 Author: Ulrich Müller gentoo org> AuthorDate: Sat May 13 11:49:24 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat May 13 20:13:25 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=965dcfa4 portageq-wrapper: Look for portageq also in PORTAGE_BIN_PATH Suggested-by: Arfrever Frehtes Taifersar Arahesis apache.org> Signed-off-by: Ulrich Müller gentoo.org> bin/portageq-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}} \