aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-05-04 09:47:20 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-04 09:47:20 +0100
commit17706021b4acff1ce309e95e93eb135ecec6e1b5 (patch)
tree03e50abdc24c30633429cf860d5c644f412aa3af /data
parentsandbox.bashrc: don't alias 'make' (diff)
downloadsandbox-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.bashrc2
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