From: Zac Medico Date: Thu, 30 Apr 2009 07:23:50 +0000 (-0000) Subject: Fix breakage in PREROOTPATH logic from the EAPI 3 code. (trunk r13386) X-Git-Tag: v2.1.6.12~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19918f03a5f7d620bd678f78796615c33caaa6db;p=portage.git Fix breakage in PREROOTPATH logic from the EAPI 3 code. (trunk r13386) svn path=/main/branches/2.1.6/; revision=13538 --- 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