diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-11 17:45:34 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-11 17:45:34 -0400 |
commit | 94d3b1443ebf3536ab92335caad85cb4b414136b (patch) | |
tree | 997718eaab41d8d07df2ca72e875978902c7648c | |
parent | libsandbox: catch calls to remove() (diff) | |
download | sandbox-94d3b1443ebf3536ab92335caad85cb4b414136b.tar.gz sandbox-94d3b1443ebf3536ab92335caad85cb4b414136b.tar.bz2 sandbox-94d3b1443ebf3536ab92335caad85cb4b414136b.zip |
sandbox.bashrc: fix typo in sandboxoff
Since libsandbox checks only for SANDBOX_ON, sandboxoff() should set this
variable and not SANDBOX_OFF.
URL: http://bugs.gentoo.org/314577
Reported-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | data/sandbox.bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/sandbox.bashrc b/data/sandbox.bashrc index 9b813e1..dfda14d 100644 --- a/data/sandbox.bashrc +++ b/data/sandbox.bashrc @@ -100,7 +100,7 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] || [[ ${__SANDBOX_TESTING} == "yes" addread() { export SANDBOX_READ=${SANDBOX_READ}:$1 ; } addwrite() { export SANDBOX_WRITE=${SANDBOX_WRITE}:$1 ; } sandboxon() { export SANDBOX_ON="1" ; } - sandboxoff() { export SANDBOX_OFF="0" ; } + sandboxoff() { export SANDBOX_ON="0" ; } [[ -z ${CCACHE_DIR} ]] && [[ -w /root/.ccache ]] && export CCACHE_DIR=/root/.ccache for var in CCACHE_DIR DISTCC_DIR ; do |