From e776f81724e9cf50265cd1f3ecd364c6e930664b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 26 Oct 2008 07:55:41 +0000 Subject: Enable bashrc even when $EBUILD_PHASE is unset, so it's possible to override things like INSTALL_MASK. svn path=/main/trunk/; revision=11726 --- bin/ebuild.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 35b940bfb..00600473b 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1525,10 +1525,9 @@ _ebuild_phase_funcs() { # function for the current phase. # source_all_bashrcs() { - [ -n "$EBUILD_PHASE" ] || return local x - if [[ -n $EAPI ]] ; then + if [[ -n $EBUILD_PHASE && -n $EAPI ]] ; then local phase_func=$(_ebuild_arg_to_phase "$EAPI" $EBUILD_PHASE) [[ -n $phase_func ]] && _ebuild_phase_funcs "$EAPI" $phase_func fi -- cgit v1.2.3-1-g7c22