summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh3
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 && \