diff options
author | 2021-05-04 09:47:20 +0100 | |
---|---|---|
committer | 2021-05-04 09:47:20 +0100 | |
commit | 17706021b4acff1ce309e95e93eb135ecec6e1b5 (patch) | |
tree | 03e50abdc24c30633429cf860d5c644f412aa3af /data | |
parent | sandbox.bashrc: don't alias 'make' (diff) | |
download | sandbox-17706021b4acff1ce309e95e93eb135ecec6e1b5.tar.gz sandbox-17706021b4acff1ce309e95e93eb135ecec6e1b5.tar.bz2 sandbox-17706021b4acff1ce309e95e93eb135ecec6e1b5.zip |
sandbox.bashrc: handle rest of CCACHE users the same as root
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'data')
-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 252e0aa..60bef0e 100644 --- a/data/sandbox.bashrc +++ b/data/sandbox.bashrc @@ -102,7 +102,7 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] || [[ ${__SANDBOX_TESTING} == "yes" sandboxon() { export SANDBOX_ON="1" ; } sandboxoff() { export SANDBOX_ON="0" ; } - [[ -z ${CCACHE_DIR} ]] && [[ -w /root/.ccache ]] && export CCACHE_DIR=/root/.ccache + [[ -z ${CCACHE_DIR} ]] && [[ -w $HOME/.ccache ]] && export CCACHE_DIR=$HOME/.ccache for var in CCACHE_DIR DISTCC_DIR ; do [[ ${!var+set} == "set" ]] && addwrite ${!var} done |