aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-02 15:46:35 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-02 15:46:35 +0100
commitaa2d91424a9aa3cf1fc5aa02db8af32bb0555124 (patch)
tree543c901cafd2ca37193262ba0ec891e4cef9c730
parentaf5a881c9b4e4d9d22c8657a936cbb880137423a (diff)
downloadpaludis-aa2d91424a9aa3cf1fc5aa02db8af32bb0555124.tar.gz
paludis-aa2d91424a9aa3cf1fc5aa02db8af32bb0555124.tar.xz
need sydboxcheck
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index ef49489..a5c2bcf 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -562,7 +562,9 @@ ebuild_main()
fi
for f in locked_pipe_command ; do
eval "${f}() { $(type -P ${f} ) \"\$@\" ; }"
- sydboxcmd addexec "$(type -P ${f})"
+ if sydboxcheck 2>/dev/null; then
+ sydboxcmd addexec "$(type -P ${f})"
+ fi
done
PATH="" ebuild_load_ebuild "${EBUILD}"
# Unban execve() calls if we're running under sydbox