From: Zac Medico Date: Sun, 18 Oct 2009 03:56:12 +0000 (-0000) Subject: Make phase variable local in has_phase_defined_up_to(). (trunk r14618) X-Git-Tag: v2.1.7.2~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fac0b567769cbbd1c2bbc95b19efe7a2bcaad704;p=portage.git Make phase variable local in has_phase_defined_up_to(). (trunk r14618) svn path=/main/branches/2.1.7/; revision=14646 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 5f7b68243..65f361a74 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