summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 0d59f4ebd..42ca1feb7 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -106,7 +106,7 @@ if [[ -w $T ]] ; then
export TEMP=$T
export TMP=$T
export TMPDIR=$T
-else
+elif [[ $SANDBOX_ON = 1 ]] ; then
for x in TEMP TMP TMPDIR ; do
[[ -n ${!x} ]] && addwrite "${!x}"
done