From a32949e6e6266b2ae00b93c5d61a5c17f6802609 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 26 May 2008 20:24:02 +0000 Subject: Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429) svn path=/main/branches/2.1.2/; revision=10430 --- bin/ebuild.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22