diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-16 19:22:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-16 19:22:07 +0000 |
commit | de853a26a171b72f8d2a956639f34caf3b9b669a (patch) | |
tree | 823cf915d23e10b2463f229391af58e067197158 | |
parent | 9dd09ef76c6e263a46eea71c7da09c4068a0dcfb (diff) | |
download | portage-de853a26a171b72f8d2a956639f34caf3b9b669a.tar.gz portage-de853a26a171b72f8d2a956639f34caf3b9b669a.tar.bz2 portage-de853a26a171b72f8d2a956639f34caf3b9b669a.zip |
Ensure that /dev/std* streams have appropriate sandbox permission for
bug #288863. This can be removed after sandbox is fixed and portage
depends on the fixed version.
svn path=/main/trunk/; revision=14612
-rwxr-xr-x | bin/ebuild.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index dd87714ca..e2e6f7783 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -6,6 +6,12 @@ PORTAGE_BIN_PATH="${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}" PORTAGE_PYM_PATH="${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}" +# Ensure that /dev/std* streams have appropriate sandbox permission for +# bug #288863. This can be removed after sandbox is fixed and portage +# depends on the fixed version. +export SANDBOX_WRITE="${SANDBOX_WRITE:+${SANDBOX_WRITE}:}/dev/stdout:/dev/stderr" +export SANDBOX_READ="${SANDBOX_READ:+${SANDBOX_READ}:}/dev/stdin" + # Don't use sandbox's BASH_ENV for new shells because it does # 'source /etc/profile' which can interfere with the build # environment by modifying our PATH. |