Fix default phase functions in EAPI 2_pre2, since they should be labeled as
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Aug 2008 20:34:41 +0000 (20:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Aug 2008 20:34:41 +0000 (20:34 -0000)
"2" instead of "2_pre2. Thanks to Arfrever for reporting.

svn path=/main/trunk/; revision=11352

bin/ebuild.sh

index c829eac831129f9b22b253318d19bd37df7cdb72..d0a01d12de70fb6659b3d1e5319d29565125af1f 100755 (executable)
@@ -1480,10 +1480,10 @@ _ebuild_phase_funcs() {
                                eapi2_src_install   () { _eapi0_src_install   "$@" ; }
 
                                for x in $default_phases ; do
-                                       eval "default_$x() { eapi${eapi}_$x \"\$@\" ; }"
+                                       eval "default_$x() { eapi2_$x \"\$@\" ; }"
                                done
 
-                               eval "default() { eapi${eapi}_$phase_func \"\$@\" ; }"
+                               eval "default() { eapi2_$phase_func \"\$@\" ; }"
 
                        else