Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13537 - main/branches/2.1.6/bin
Date: Thu, 30 Apr 2009 07:23:37
Message-Id: E1LzQcJ-0001V4-Qe@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-30 07:23:35 +0000 (Thu, 30 Apr 2009)
3 New Revision: 13537
4
5 Modified:
6 main/branches/2.1.6/bin/ebuild.sh
7 Log:
8 Remove ccache and distcc remove_path_entry code since PATH is always
9 initialized from scratch so there's no danger of accumulation. (trunk r13385)
10
11 Modified: main/branches/2.1.6/bin/ebuild.sh
12 ===================================================================
13 --- main/branches/2.1.6/bin/ebuild.sh 2009-04-30 07:23:25 UTC (rev 13536)
14 +++ main/branches/2.1.6/bin/ebuild.sh 2009-04-30 07:23:35 UTC (rev 13537)
15 @@ -1919,14 +1919,11 @@
16 if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then
17
18 if hasq distcc $FEATURES ; then
19 - [[ -z ${PATH/*distcc*/} ]] && remove_path_entry distcc
20 export PATH="/usr/lib/distcc/bin:$PATH"
21 [[ -n $DISTCC_LOG ]] && addwrite "${DISTCC_LOG%/*}"
22 fi
23
24 if hasq ccache $FEATURES ; then
25 - [[ -z ${PATH/*ccache*/} ]] && remove_path_entry ccache
26 -
27 export PATH="/usr/lib/ccache/bin:$PATH"
28
29 addread "$CCACHE_DIR"