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 BDB3B15800A for ; Wed, 26 Jul 2023 12:02:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFD02E08FE; Wed, 26 Jul 2023 12:02:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A81B1E08FE for ; Wed, 26 Jul 2023 12:02:44 +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 E1D91340ECD for ; Wed, 26 Jul 2023 12:02:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA0BADC7 for ; Wed, 26 Jul 2023 12:02:41 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1690372854.15550ad9c486e23894773de505a12af4f7eba887.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcore:master commit in: src/pkgcore/operations/ X-VCS-Repository: proj/pkgcore/pkgcore X-VCS-Files: src/pkgcore/operations/format.py X-VCS-Directories: src/pkgcore/operations/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 15550ad9c486e23894773de505a12af4f7eba887 X-VCS-Branch: master Date: Wed, 26 Jul 2023 12:02:41 +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: 42fcddee-c304-4174-b78d-f2dd9f9f3cf7 X-Archives-Hash: 03f2105ee44b6fb488b28fe484f07096 commit: 15550ad9c486e23894773de505a12af4f7eba887 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Jul 26 12:00:54 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Jul 26 12:00:54 2023 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=15550ad9 pass PATH variable to calls of FETCHCOMMAND Resolves: https://github.com/pkgcore/pkgdev/issues/145 Signed-off-by: Arthur Zamarin gentoo.org> src/pkgcore/operations/format.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pkgcore/operations/format.py b/src/pkgcore/operations/format.py index 22b975b46..00746c4a8 100644 --- a/src/pkgcore/operations/format.py +++ b/src/pkgcore/operations/format.py @@ -40,7 +40,11 @@ class fetch_base: resumecmd = domain.settings.get("RESUMECOMMAND", fetchcmd) attempts = int(domain.settings.get("FETCH_ATTEMPTS", 10)) self.fetcher = fetch_custom.fetcher( - self.distdir, fetchcmd, resumecmd, attempts=attempts + self.distdir, + fetchcmd, + resumecmd, + attempts=attempts, + PATH=os.environ["PATH"], ) def fetch_all(self, observer):