From: Zac Medico Date: Sat, 17 Oct 2009 05:44:17 +0000 (-0000) Subject: Make phase variable local in has_phase_defined_up_to(). X-Git-Tag: v2.2_rc47~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d0b2b3ac2f8e11544c6287d1bf8305805d20480;p=portage.git Make phase variable local in has_phase_defined_up_to(). svn path=/main/trunk/; revision=14618 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d6e833639..88084c5a2 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -898,6 +898,7 @@ abort_install() { } has_phase_defined_up_to() { + local phase for phase in unpack prepare configure compile install; do has ${phase} ${DEFINED_PHASES} && return 0 [[ ${phase} == $1 ]] && return 1