summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:23:35 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:23:35 +0000
commit6f28b25f06055a1ecf2ff00ab440c8d383a7bc9b (patch)
tree93edc0b74b03b8ae4655ad906b9ea8d97087160d /bin
parentUse declare -F to check existence of function definitions, instead of (diff)
downloadportage-multirepo-6f28b25f06055a1ecf2ff00ab440c8d383a7bc9b.tar.gz
portage-multirepo-6f28b25f06055a1ecf2ff00ab440c8d383a7bc9b.tar.bz2
portage-multirepo-6f28b25f06055a1ecf2ff00ab440c8d383a7bc9b.zip
Remove ccache and distcc remove_path_entry code since PATH is always
initialized from scratch so there's no danger of accumulation. (trunk r13385) svn path=/main/branches/2.1.6/; revision=13537
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 57f1a9e6..357756a4 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1919,14 +1919,11 @@ ebuild_main() {
if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then
if hasq distcc $FEATURES ; then
- [[ -z ${PATH/*distcc*/} ]] && remove_path_entry distcc
export PATH="/usr/lib/distcc/bin:$PATH"
[[ -n $DISTCC_LOG ]] && addwrite "${DISTCC_LOG%/*}"
fi
if hasq ccache $FEATURES ; then
- [[ -z ${PATH/*ccache*/} ]] && remove_path_entry ccache
-
export PATH="/usr/lib/ccache/bin:$PATH"
addread "$CCACHE_DIR"