summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-27 12:09:39 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-27 12:15:59 -0700
commitcc6ca3f87d6173008b55148aa3fba137340c3372 (patch)
tree55f4f745b264e8a9ab86de2d30f0b59d014e6ed4 /bin
parent62ee18d9e9ce30edfd49d233936de36d88606dcc (diff)
downloadportage-cc6ca3f87d6173008b55148aa3fba137340c3372.tar.gz
portage-cc6ca3f87d6173008b55148aa3fba137340c3372.tar.bz2
portage-cc6ca3f87d6173008b55148aa3fba137340c3372.zip
ebuild: move SANDBOX_ON=0 setting later
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh6
1 files changed, 3 insertions, 3 deletions
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 "$@"
}