Make phase variable local in has_phase_defined_up_to(). (trunk r14618)
authorZac Medico <zmedico@gentoo.org>
Sun, 18 Oct 2009 03:56:12 +0000 (03:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 18 Oct 2009 03:56:12 +0000 (03:56 -0000)
svn path=/main/branches/2.1.7/; revision=14646

bin/ebuild.sh

index 5f7b6824364067c69eadae0b1d337a0c5cf39cff..65f361a748bc74cdabd1a67b434ea99297559d7c 100755 (executable)
@@ -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