summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-26 20:12:18 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-26 20:12:18 +0000
commit9d791e4cd797def40c51695355689105da4a8274 (patch)
treec77bbc0b6dacb0d1da2b7912fb0c4aa9b12c38bd
parent479c3a35af4aabf0b3d35a156295cd29e47224b9 (diff)
downloadportage-9d791e4cd797def40c51695355689105da4a8274.tar.gz
portage-9d791e4cd797def40c51695355689105da4a8274.tar.bz2
portage-9d791e4cd797def40c51695355689105da4a8274.zip
Skip source_all_bashrcs() when $EBUILD_PHASE is not set.
svn path=/main/trunk/; revision=10429
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ecc825464..9045a50e1 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1348,6 +1348,7 @@ remove_path_entry() {
}
source_all_bashrcs() {
+ [ -n "$EBUILD_PHASE" ] || return
local OCC="${CC}" OCXX="${CXX}"
# source the existing profile.bashrc's.
save_IFS