Skip to content

Commit

Permalink
Only addwrite for tmp dirs if sandbox is enabled.
Browse files Browse the repository at this point in the history
This should fix bug #307729.
  • Loading branch information
zmedico committed Oct 27, 2010
1 parent 60e15f5 commit d68bc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ebuild.sh
Expand Up @@ -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
Expand Down

0 comments on commit d68bc7d

Please sign in to comment.