summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:23:50 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:23:50 +0000
commit19918f03a5f7d620bd678f78796615c33caaa6db (patch)
tree2526b33bd6147cdbf8b8d13b71ead0e4f4403647
parentRemove ccache and distcc remove_path_entry code since PATH is always (diff)
downloadportage-multirepo-19918f03a5f7d620bd678f78796615c33caaa6db.tar.gz
portage-multirepo-19918f03a5f7d620bd678f78796615c33caaa6db.tar.bz2
portage-multirepo-19918f03a5f7d620bd678f78796615c33caaa6db.zip
Fix breakage in PREROOTPATH logic from the EAPI 3 code. (trunk r13386)
svn path=/main/branches/2.1.6/; revision=13538
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 357756a4..5f78c8e4 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