1 |
In ebuild.sh, $T/environment is loaded for most phases, but it should |
2 |
always start with a fresh environment for pkg_setup. Therefore, skip |
3 |
environment loading for pkg_setup. |
4 |
|
5 |
X-Gentoo-Bug: 528274 |
6 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=528274 |
7 |
--- |
8 |
bin/ebuild.sh | 2 +- |
9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
10 |
|
11 |
diff --git a/bin/ebuild.sh b/bin/ebuild.sh |
12 |
index 658884a..1cd029e 100755 |
13 |
--- a/bin/ebuild.sh |
14 |
+++ b/bin/ebuild.sh |
15 |
@@ -501,7 +501,7 @@ fi |
16 |
export EBUILD_MASTER_PID=${BASHPID:-$(__bashpid)} |
17 |
trap 'exit 1' SIGTERM |
18 |
|
19 |
-if ! has "$EBUILD_PHASE" clean cleanrm depend && \ |
20 |
+if ! has "$EBUILD_PHASE" clean cleanrm depend setup && \ |
21 |
[ -f "${T}"/environment ] ; then |
22 |
# The environment may have been extracted from environment.bz2 or |
23 |
# may have come from another version of ebuild.sh or something. |
24 |
-- |
25 |
2.0.4 |