From: Zac Medico Date: Thu, 30 Apr 2009 07:23:35 +0000 (-0000) Subject: Remove ccache and distcc remove_path_entry code since PATH is always X-Git-Tag: v2.1.6.12~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f28b25f06055a1ecf2ff00ab440c8d383a7bc9b;p=portage.git 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 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 57f1a9e60..357756a4f 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"