diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-10-26 07:55:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-10-26 07:55:41 +0000 |
commit | e776f81724e9cf50265cd1f3ecd364c6e930664b (patch) | |
tree | cb0c034204924a582381571ea084da2829fc59e3 | |
parent | 6c7b407c23ea0cff96edfa36a64f05735dee93c8 (diff) | |
download | portage-e776f81724e9cf50265cd1f3ecd364c6e930664b.tar.gz portage-e776f81724e9cf50265cd1f3ecd364c6e930664b.tar.bz2 portage-e776f81724e9cf50265cd1f3ecd364c6e930664b.zip |
Enable bashrc even when $EBUILD_PHASE is unset, so it's possible to override
things like INSTALL_MASK.
svn path=/main/trunk/; revision=11726
-rwxr-xr-x | bin/ebuild.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |