From 07103829a1bf0d6faed52a5ac3bf7130967e3726 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Aug 2008 11:24:31 +0000 Subject: Implement eapi$EAPI_* default phase functions that are equivalent to the default_* functions for the given EAPI. For example, a function named eapi0_src_compile provides access to the default src_compile implementation that EAPI 0 provides. This feature is supported only when EAPI=2_pre2 is set. Thanks to Brian Harring for suggesting this idea. svn path=/main/trunk/; revision=11350 --- bin/isolated-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/isolated-functions.sh') diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 378e03f91..85a478e6b 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -546,7 +546,7 @@ save_ebuild_env() { for x in pkg_setup pkg_nofetch src_unpack src_configure \ src_compile src_test src_install pkg_preinst pkg_postinst \ pkg_prerm pkg_postrm ; do - unset -f {,_}default_$x + unset -f {,_}default_$x {,_}eapi{0,1,2,2_pre1,2_pre2}_$x done unset x -- cgit v1.2.3-1-g7c22