From 445daffe9b37122bd37a67e90156f75f4cfe03ae Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 9 Oct 2008 19:46:07 +0000 Subject: 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 --- bin/ebuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 && \ -- cgit v1.2.3-1-g7c22