summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-17 05:44:17 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-17 05:44:17 +0000
commit0d0b2b3ac2f8e11544c6287d1bf8305805d20480 (patch)
tree2596e457c6222654a76badaf03c57354504b2725
parent6601b0b0c1a66f61acf7d23775cfbb5acf002553 (diff)
downloadportage-0d0b2b3ac2f8e11544c6287d1bf8305805d20480.tar.gz
portage-0d0b2b3ac2f8e11544c6287d1bf8305805d20480.tar.bz2
portage-0d0b2b3ac2f8e11544c6287d1bf8305805d20480.zip
Make phase variable local in has_phase_defined_up_to().
svn path=/main/trunk/; revision=14618
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
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