summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-08 20:34:41 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-08 20:34:41 +0000
commit5f952cdf79ec262eeee3dac6a0935b3f39168cc7 (patch)
treea4ad29ae1cfa0347595a951e163c1972e5e88fb2
parent60d81bf66b9c4da25be357a32053c81d31d2f9a3 (diff)
downloadportage-5f952cdf79ec262eeee3dac6a0935b3f39168cc7.tar.gz
portage-5f952cdf79ec262eeee3dac6a0935b3f39168cc7.tar.bz2
portage-5f952cdf79ec262eeee3dac6a0935b3f39168cc7.zip
Fix default phase functions in EAPI 2_pre2, since they should be labeled as
"2" instead of "2_pre2. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11352
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index c829eac83..d0a01d12d 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -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