From: Zac Medico Date: Mon, 26 May 2008 20:24:02 +0000 (-0000) Subject: Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429) X-Git-Tag: v2.1.5.3~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a32949e6e6266b2ae00b93c5d61a5c17f6802609;p=portage.git Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429) svn path=/main/branches/2.1.2/; revision=10430 --- 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