From fac0b567769cbbd1c2bbc95b19efe7a2bcaad704 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 18 Oct 2009 03:56:12 +0000 Subject: Make phase variable local in has_phase_defined_up_to(). (trunk r14618) svn path=/main/branches/2.1.7/; revision=14646 --- bin/ebuild.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22