summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-03 06:19:43 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-03 06:19:43 +0000
commit12ff9528ba0a3e49aa52c543f3518f722208a890 (patch)
tree9057c0812ffe233f25bdf0b69c4c9e5b98ea8043 /bin/isolated-functions.sh
parentFor compatibility with cvs.eclass, do not unset CVS_RSH in (diff)
downloadportage-multirepo-12ff9528ba0a3e49aa52c543f3518f722208a890.tar.gz
portage-multirepo-12ff9528ba0a3e49aa52c543f3518f722208a890.tar.bz2
portage-multirepo-12ff9528ba0a3e49aa52c543f3518f722208a890.zip
* whitelist CCACHE_* and DISTCC_* variables in config.environ()
* unset CCACHE_* and DISTCC_* variables in save_ebuild_env() svn path=/main/trunk/; revision=8818
Diffstat (limited to 'bin/isolated-functions.sh')
-rwxr-xr-xbin/isolated-functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index f6ca2265..dfe4cfba 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -409,6 +409,9 @@ save_ebuild_env() {
unset ECHANGELOG_USER GPG_AGENT_INFO \
SSH_AGENT_PID SSH_AUTH_SOCK STY WINDOW XAUTHORITY
+ # CCACHE and DISTCC config
+ unset ${!CCACHE_*} ${!DISTCC_*}
+
# There's no need to bloat environment.bz2 with internally defined
# functions and variables, so filter them out if possible.