From 0c8928b6b49603c0a3e0bcf1640da708865d20fe Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 2 Jan 2023 17:24:12 +0000 Subject: Read CHOST with portageq from EROOT and not / Signed-off-by: James Le Cuirot Closes: https://github.com/gentoo/binutils-config/pull/1 Signed-off-by: Sam James --- src/binutils-config | 1 + 1 file changed, 1 insertion(+) diff --git a/src/binutils-config b/src/binutils-config index 37ea77c..a28366a 100755 --- a/src/binutils-config +++ b/src/binutils-config @@ -13,6 +13,7 @@ BROOT="@GENTOO_EPREFIX@" [[ ${BROOT} == @*@ ]] && BROOT="" : ${EPREFIX="${BROOT}"} EROOT="${ROOT%/}${EPREFIX}/" +export PORTAGE_CONFIGROOT="${EROOT}" cd "${BROOT}/" -- cgit v1.2.3-65-gdbad