Remove ccache and distcc remove_path_entry code since PATH is always
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:23:35 +0000 (07:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:23:35 +0000 (07:23 -0000)
initialized from scratch so there's no danger of accumulation. (trunk r13385)

svn path=/main/branches/2.1.6/; revision=13537

bin/ebuild.sh

index 57f1a9e6028a0fe991901657342c97cfb551d38c..357756a4f690c2cda47dce17989d74ddad0856b0 100755 (executable)
@@ -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"