From 0d0b2b3ac2f8e11544c6287d1bf8305805d20480 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 17 Oct 2009 05:44:17 +0000 Subject: Make phase variable local in has_phase_defined_up_to(). svn path=/main/trunk/; revision=14618 --- bin/ebuild.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-1-g7c22