Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sandbox:master commit in: data/
Date: Tue, 04 May 2021 08:50:54
Message-Id: 1620118040.17706021b4acff1ce309e95e93eb135ecec6e1b5.slyfox@gentoo
1 commit: 17706021b4acff1ce309e95e93eb135ecec6e1b5
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 4 08:47:20 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 08:47:20 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=17706021
7
8 sandbox.bashrc: handle rest of CCACHE users the same as root
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 data/sandbox.bashrc | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/data/sandbox.bashrc b/data/sandbox.bashrc
16 index 252e0aa..60bef0e 100644
17 --- a/data/sandbox.bashrc
18 +++ b/data/sandbox.bashrc
19 @@ -102,7 +102,7 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] || [[ ${__SANDBOX_TESTING} == "yes"
20 sandboxon() { export SANDBOX_ON="1" ; }
21 sandboxoff() { export SANDBOX_ON="0" ; }
22
23 - [[ -z ${CCACHE_DIR} ]] && [[ -w /root/.ccache ]] && export CCACHE_DIR=/root/.ccache
24 + [[ -z ${CCACHE_DIR} ]] && [[ -w $HOME/.ccache ]] && export CCACHE_DIR=$HOME/.ccache
25 for var in CCACHE_DIR DISTCC_DIR ; do
26 [[ ${!var+set} == "set" ]] && addwrite ${!var}
27 done