Invert _ebuild_helpers_path EAPI conditional in ebuild.sh.
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Aug 2010 14:27:58 +0000 (07:27 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Aug 2010 14:27:58 +0000 (07:27 -0700)
bin/ebuild.sh

index 393c82ebdf252681195d48f3f4280e68e7eae1cd..feef31809b6a1519586fd4f460f095073b20b5eb 100755 (executable)
@@ -1995,11 +1995,11 @@ if ! hasq "$EBUILD_PHASE" clean cleanrm ; then
                if [[ $EBUILD_PHASE != depend ]] ; then
 
                        case "$EAPI" in
-                               4|4_pre1)
-                                       _ebuild_helpers_path="$PORTAGE_BIN_PATH/ebuild-helpers/4:$PORTAGE_BIN_PATH/ebuild-helpers"
+                               0|1|2|3)
+                                       _ebuild_helpers_path="$PORTAGE_BIN_PATH/ebuild-helpers"
                                        ;;
                                *)
-                                       _ebuild_helpers_path="$PORTAGE_BIN_PATH/ebuild-helpers"
+                                       _ebuild_helpers_path="$PORTAGE_BIN_PATH/ebuild-helpers/4:$PORTAGE_BIN_PATH/ebuild-helpers"
                                        ;;
                        esac