diff options
author | 2022-12-26 10:13:03 +0000 | |
---|---|---|
committer | 2022-12-28 19:11:59 +0000 | |
commit | 77d64fc9897a157aafec35515848c907b4661bb0 (patch) | |
tree | 934d035d9cb5f2d408df48c1edbff3672e24d040 | |
parent | Allow EPREFIX to be overridden for manipulating prefixed ROOT (diff) | |
download | gcc-config-77d64fc9897a157aafec35515848c907b4661bb0.tar.gz gcc-config-77d64fc9897a157aafec35515848c907b4661bb0.tar.bz2 gcc-config-77d64fc9897a157aafec35515848c907b4661bb0.zip |
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 <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | gcc-config | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -13,6 +13,7 @@ BROOT="@GENTOO_EPREFIX@" [[ ${BROOT} == @*@ ]] && BROOT="" : ${EPREFIX="${BROOT}"} EROOT="${ROOT%/}${EPREFIX}/" +export PORTAGE_CONFIGROOT="${EROOT}" cd / |