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

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