1 |
commit: bf39bfe9806ec6a6929d2a3475915dafd7fe0d39 |
2 |
Author: Andrew Hlynskyi <ahlincq <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 10 07:52:52 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 10 08:48:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=bf39bfe9 |
7 |
|
8 |
bin/phase-functions.sh: Fix SANDBOX_ON variable condition check |
9 |
|
10 |
Fixes: 94015a2fe3b2 ("When signaling successful exit from an ebuild phase via ebuild-ipc") |
11 |
Closes: https://github.com/gentoo/portage/pull/232 |
12 |
|
13 |
bin/phase-functions.sh | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh |
17 |
index 7fc798e7f..10d54ca74 100644 |
18 |
--- a/bin/phase-functions.sh |
19 |
+++ b/bin/phase-functions.sh |
20 |
@@ -944,7 +944,7 @@ __ebuild_main() { |
21 |
# so we ensure that there can't be a stale log to |
22 |
# interfere with our logic. |
23 |
local x= |
24 |
- if [[ -n SANDBOX_ON ]] ; then |
25 |
+ if [[ -n $SANDBOX_ON ]] ; then |
26 |
x=$SANDBOX_ON |
27 |
export SANDBOX_ON=0 |
28 |
fi |