aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-20 16:27:34 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-20 16:27:34 +0000
commit13637e6fa3570dcfc98b6ceaf185b6dda8875c2c (patch)
treec993e929e3a13f85ffcdf069b37edd77c12ee2f8
parent7b26643608406ed73b00a59e88fc60ca2ba38cf8 (diff)
downloadpaludis-13637e6fa3570dcfc98b6ceaf185b6dda8875c2c.tar.gz
paludis-13637e6fa3570dcfc98b6ceaf185b6dda8875c2c.tar.xz
Work around sandbox's annoying desire to clobber PATH. Fixes: ticket:25
-rwxr-xr-xebuild/ebuild.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 8d77787..8faca7c 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -32,6 +32,8 @@ if [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] ; then
export SANDBOX_WRITE="${SANDBOX_WRITE}:${PALUDIS_TMPDIR}:/var/cache"
export SANDBOX_WRITE="${SANDBOX_WRITE}:/proc/self/attr:/proc/self/task:/selinux/context"
export SANDBOX_ON="1"
+ export SANDBOX_BASHRC="/dev/null"
+ export BASH_ENV
fi
export REAL_CHOST="${CHOST}"