From: Zac Medico Date: Mon, 26 May 2008 20:12:18 +0000 (-0000) Subject: Skip source_all_bashrcs() when $EBUILD_PHASE is not set. X-Git-Tag: v2.2_pre8~104 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d791e4cd797def40c51695355689105da4a8274;p=portage.git Skip source_all_bashrcs() when $EBUILD_PHASE is not set. svn path=/main/trunk/; revision=10429 --- 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