From: Zac Medico Date: Wed, 27 Oct 2010 19:09:39 +0000 (-0700) Subject: ebuild: move SANDBOX_ON=0 setting later X-Git-Tag: v2.1.9.23~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc6ca3f87d6173008b55148aa3fba137340c3372;p=portage.git ebuild: move SANDBOX_ON=0 setting later --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 42ca1feb7..4b831ef32 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -78,9 +78,6 @@ source "${PORTAGE_BIN_PATH}/isolated-functions.sh" &>/dev/null [[ $PORTAGE_QUIET != "" ]] && export PORTAGE_QUIET -# the sandbox is disabled by default except when overridden in the relevant stages -export SANDBOX_ON="0" - # sandbox support functions; defined prior to profile.bashrc srcing, since the profile might need to add a default exception (/usr/lib64/conftest fex) _sb_append_var() { local _v=$1 ; shift @@ -113,6 +110,9 @@ elif [[ $SANDBOX_ON = 1 ]] ; then unset x fi +# the sandbox is disabled by default except when overridden in the relevant stages +export SANDBOX_ON=0 + lchown() { chown -h "$@" }