diff options
author | James Le Cuirot <chewi@gentoo.org> | 2023-01-02 17:24:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-03 01:01:35 +0000 |
commit | 0c8928b6b49603c0a3e0bcf1640da708865d20fe (patch) | |
tree | 03de14532d55b5f1d590cde6b6c9f22b6f6ba75a | |
parent | Allow EPREFIX to be overridden for manipulating prefixed ROOT (diff) | |
download | binutils-config-0c8928b6b49603c0a3e0bcf1640da708865d20fe.tar.gz binutils-config-0c8928b6b49603c0a3e0bcf1640da708865d20fe.tar.bz2 binutils-config-0c8928b6b49603c0a3e0bcf1640da708865d20fe.zip |
Read CHOST with portageq from EROOT and not /v5.5
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Closes: https://github.com/gentoo/binutils-config/pull/1
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | src/binutils-config | 1 |
1 files changed, 1 insertions, 0 deletions
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}/" |