From 6626ada74c71410161261f075a3100e4b7f0d860 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Dec 2009 19:41:09 +0000 Subject: Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks to Jonathan Callen for this patch. svn path=/main/trunk/; revision=14965 --- bin/isolated-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/isolated-functions.sh') diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 9741419b6..a557d9fd9 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -54,7 +54,7 @@ dump_trace() { } nonfatal() { - if has "${EAPI:-0}" 0 1 2; then + if has "${EAPI:-0}" 0 1 2 3; then die "$FUNCNAME() not supported in this EAPI" fi if [[ $# -lt 1 ]]; then @@ -515,7 +515,7 @@ save_ebuild_env() { for x in pkg_setup pkg_nofetch src_unpack src_prepare src_configure \ src_compile src_test src_install pkg_preinst pkg_postinst \ pkg_prerm pkg_postrm ; do - unset -f default_$x _eapi{0,1,2}_$x + unset -f default_$x _eapi{0,1,2,3,4}_$x done unset x -- cgit v1.2.3-1-g7c22