diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-18 03:56:12 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-18 03:56:12 +0000 |
commit | fac0b567769cbbd1c2bbc95b19efe7a2bcaad704 (patch) | |
tree | 669d561b0f750f7d1c1f5fb7d7ccd8a8b4cf3522 /bin/ebuild.sh | |
parent | b4f9db62a5071ecf5c3190c0e1dcf6bddfce5b3c (diff) | |
download | portage-fac0b567769cbbd1c2bbc95b19efe7a2bcaad704.tar.gz portage-fac0b567769cbbd1c2bbc95b19efe7a2bcaad704.tar.bz2 portage-fac0b567769cbbd1c2bbc95b19efe7a2bcaad704.zip |
Make phase variable local in has_phase_defined_up_to(). (trunk r14618)
svn path=/main/branches/2.1.7/; revision=14646
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |