1 |
commit: 0c8928b6b49603c0a3e0bcf1640da708865d20fe |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 17:24:12 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 01:01:35 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=0c8928b6 |
7 |
|
8 |
Read CHOST with portageq from EROOT and not / |
9 |
|
10 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/binutils-config/pull/1 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
src/binutils-config | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/src/binutils-config b/src/binutils-config |
18 |
index 37ea77c..a28366a 100755 |
19 |
--- a/src/binutils-config |
20 |
+++ b/src/binutils-config |
21 |
@@ -13,6 +13,7 @@ BROOT="@GENTOO_EPREFIX@" |
22 |
[[ ${BROOT} == @*@ ]] && BROOT="" |
23 |
: ${EPREFIX="${BROOT}"} |
24 |
EROOT="${ROOT%/}${EPREFIX}/" |
25 |
+export PORTAGE_CONFIGROOT="${EROOT}" |
26 |
|
27 |
cd "${BROOT}/" |