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 D99A515800D for ; Wed, 28 Dec 2022 19:12:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 115B1E09D0; Wed, 28 Dec 2022 19:12:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 F1C4BE09D0 for ; Wed, 28 Dec 2022 19:12:04 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 442A4340FA7 for ; Wed, 28 Dec 2022 19:12:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D96C77E8 for ; Wed, 28 Dec 2022 19:12:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1672254719.77d64fc9897a157aafec35515848c907b4661bb0.sam@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: gcc-config X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 77d64fc9897a157aafec35515848c907b4661bb0 X-VCS-Branch: master Date: Wed, 28 Dec 2022 19:12:02 +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: 5db9a5a6-1b6c-423b-9c7b-9d21cb6bbbd9 X-Archives-Hash: 60562da8732c0442e852ac1d9801032f commit: 77d64fc9897a157aafec35515848c907b4661bb0 Author: James Le Cuirot gentoo org> AuthorDate: Mon Dec 26 10:13:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 28 19:11:59 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=77d64fc9 Read CHOST with portageq from EROOT and not / Failing that, the fallback method still reads from EROOT as before. Signed-off-by: James Le Cuirot gentoo.org> Signed-off-by: Sam James gentoo.org> gcc-config | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc-config b/gcc-config index c5d907c..236c433 100755 --- a/gcc-config +++ b/gcc-config @@ -13,6 +13,7 @@ BROOT="@GENTOO_EPREFIX@" [[ ${BROOT} == @*@ ]] && BROOT="" : ${EPREFIX="${BROOT}"} EROOT="${ROOT%/}${EPREFIX}/" +export PORTAGE_CONFIGROOT="${EROOT}" cd /