From: Zac Medico Date: Thu, 23 Apr 2009 05:04:25 +0000 (-0000) Subject: Fix breakage in PREROOTPATH logic from the EAPI 3 code. X-Git-Tag: v2.2_rc32~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=edd3ac77d23bc323552730298e25c9cdca9bf1ad;p=portage.git Fix breakage in PREROOTPATH logic from the EAPI 3 code. svn path=/main/trunk/; revision=13386 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 357756a4f..5f78c8e41 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1914,6 +1914,7 @@ ebuild_main() { esac export PATH="/usr/local/sbin:/sbin:/usr/sbin:${ebuild_helpers_path}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}" + [[ -n $PREROOTPATH ]] && export PATH="${PREROOTPATH%%:}:$PATH" unset ebuild_helpers_path if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then