svn path=/main/branches/2.1.6/; revision=13607
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:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin${ROOTPATH:+:}$ROOTPATH
- unset ebuild_helpers_path
-
if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then
if hasq distcc $FEATURES ; then