Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429)
authorZac Medico <zmedico@gentoo.org>
Mon, 26 May 2008 20:24:02 +0000 (20:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 26 May 2008 20:24:02 +0000 (20:24 -0000)
svn path=/main/branches/2.1.2/; revision=10430

bin/ebuild.sh

index ecc825464058e63f60d4e343d1efc193ecc03a37..9045a50e17b845d5fac7c8d0adea811b5a8d6b5e 100755 (executable)
@@ -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