summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-23 05:04:25 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-23 05:04:25 +0000
commitedd3ac77d23bc323552730298e25c9cdca9bf1ad (patch)
treeecf31910b4be8bcee806f84e4b57404d3a8f9af7
parent293577e2a10c71d845659902b856362e513c3f7b (diff)
downloadportage-edd3ac77d23bc323552730298e25c9cdca9bf1ad.tar.gz
portage-edd3ac77d23bc323552730298e25c9cdca9bf1ad.tar.bz2
portage-edd3ac77d23bc323552730298e25c9cdca9bf1ad.zip
Fix breakage in PREROOTPATH logic from the EAPI 3 code.
svn path=/main/trunk/; revision=13386
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
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