summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-29 18:20:13 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-29 18:20:13 +0000
commit1e374b3bf8e33a19ca55c4fc9c64f0eb021ead33 (patch)
tree8af5c458228567c47862be73f059c1182669f458 /bin/ebuild.sh
parentMake sure we doebuild uses the correct tree for fetch lists when there are ov... (diff)
downloadportage-multirepo-1e374b3bf8e33a19ca55c4fc9c64f0eb021ead33.tar.gz
portage-multirepo-1e374b3bf8e33a19ca55c4fc9c64f0eb021ead33.tar.bz2
portage-multirepo-1e374b3bf8e33a19ca55c4fc9c64f0eb021ead33.zip
Stack /etc/profile.env inside portage.config so that it doesn't stop variables in inappropriate places. See bug #51370.
svn path=/main/trunk/; revision=4048
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index f657dddc..fdd7da0e 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -45,8 +45,6 @@ alias restore_IFS='if [ "${old_IFS:-unset}" != "unset" ]; then IFS="${old_IFS}";
OCC="$CC"
OCXX="$CXX"
-source /etc/profile.env &>/dev/null
-
export PATH="/usr/local/sbin:/sbin:/usr/sbin:${PORTAGE_BIN_PATH}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}"
[ ! -z "$PREROOTPATH" ] && export PATH="${PREROOTPATH%%:}:$PATH"