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