Remove unused PATH code from EAPI 3_pre1.
authorZac Medico <zmedico@gentoo.org>
Sat, 10 Oct 2009 02:16:23 +0000 (02:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 10 Oct 2009 02:16:23 +0000 (02:16 -0000)
svn path=/main/branches/2.1.7/; revision=14543

bin/ebuild.sh

index deadbf3eb98fc8492b47d33fcc69942fdb5b3913..0a598a68b1c540928491fe6aac77d4d03eb77918 100755 (executable)
@@ -1881,20 +1881,6 @@ fi
 ebuild_main() {
        local f x
 
-       # we may want to make this configurable somewhere else
-       local ebuild_helpers_path
-       case ${EAPI} in
-               3|3_pre1)
-                       ebuild_helpers_path="${PORTAGE_BIN_PATH}/ebuild-helpers/3:${PORTAGE_BIN_PATH}/ebuild-helpers"
-                       ;;
-               *)
-                       ebuild_helpers_path="${PORTAGE_BIN_PATH}/ebuild-helpers"
-                       ;;
-       esac
-
-       PATH=$ebuild_helpers_path:$PREROOTPATH${PREROOTPATH:+:}/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}$ROOTPATH
-       unset ebuild_helpers_path
-
        if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then
 
                if hasq distcc $FEATURES ; then