diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-10-09 19:46:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-10-09 19:46:07 +0000 |
commit | 445daffe9b37122bd37a67e90156f75f4cfe03ae (patch) | |
tree | bb20351012f153a2ce93bd4619ac3f0c80f9613d | |
parent | a7de6484bfc4a1fc21df16f9a66982211e193f1e (diff) | |
download | portage-445daffe9b37122bd37a67e90156f75f4cfe03ae.tar.gz portage-445daffe9b37122bd37a67e90156f75f4cfe03ae.tar.bz2 portage-445daffe9b37122bd37a67e90156f75f4cfe03ae.zip |
Fix code from previous commit so it properly checks $eapi to verify that
src_prepare is really a supported phase function.
svn path=/main/trunk/; revision=11665
-rwxr-xr-x | bin/ebuild.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 7cca4f272..b501e94a2 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1396,7 +1396,8 @@ _ebuild_arg_to_phase() { phase_func=src_unpack ;; prepare) - phase_func=src_prepare + ! hasq $eapi 0 1 2_pre1 2_pre2 && \ + phase_func=src_prepare ;; configure) ! hasq $eapi 0 1 2_pre1 && \ |