summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parent* Enable config.setcpv() to use a Package instance in place of a cpv. (diff)
downloadportage-multirepo-9d791e4cd797def40c51695355689105da4a8274.tar.gz
portage-multirepo-9d791e4cd797def40c51695355689105da4a8274.tar.bz2
portage-multirepo-9d791e4cd797def40c51695355689105da4a8274.zip
Skip source_all_bashrcs() when $EBUILD_PHASE is not set.
svn path=/main/trunk/; revision=10429
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ecc82546..9045a50e 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