summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-26 20:24:02 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-26 20:24:02 +0000
commita32949e6e6266b2ae00b93c5d61a5c17f6802609 (patch)
treebe1f72207b95d50b296bb081783effef04d8f70b
parent68788c229e76692b42bf2235a880ec1b430dab28 (diff)
downloadportage-a32949e6e6266b2ae00b93c5d61a5c17f6802609.tar.gz
portage-a32949e6e6266b2ae00b93c5d61a5c17f6802609.tar.bz2
portage-a32949e6e6266b2ae00b93c5d61a5c17f6802609.zip
Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429)
svn path=/main/branches/2.1.2/; revision=10430
-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