From 2a837288be5ec8f50fb0b9859fcc9f993b709e60 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 24 Apr 2009 06:37:22 +0000 Subject: =?UTF-8?q?Revert=20r13390=20(dosed=20and=20dohard=20functions)=20?= =?UTF-8?q?since=20a=20stack=20trace=20isn't=20really=20important=20this?= =?UTF-8?q?=20particular=20QA=20feature.=20Thanks=20to=20Tiziano=20M=C3=BC?= =?UTF-8?q?ller=20=20for=20the=20suggestion.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=13391 --- bin/ebuild.sh | 8 -------- bin/isolated-functions.sh | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 43d428ed7..9cbd748e6 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1444,14 +1444,6 @@ _ebuild_phase_funcs() { eval "$x() { _eapi0_$x \"\$@\" ; }" done - if ! hasq $eapi 0 1 2 ; then - for x in dosed dohard ; do - eval "$x() { - die \"$x has been banned for EAPI '$eapi'\" - }" - done - fi - case $eapi in 0|1) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 7996268d7..ccef19ed2 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -498,8 +498,7 @@ save_ebuild_env() { done unset x - unset -f die diefunc dosed dohard dump_trace \ - quiet_mode vecho elog_base eqawarn elog \ + unset -f dump_trace die diefunc quiet_mode vecho elog_base eqawarn elog \ esyslog einfo einfon ewarn eerror ebegin _eend eend KV_major \ KV_minor KV_micro KV_to_int get_KV unset_colors set_colors has \ hasg hasgq hasv hasq qa_source qa_call \ -- cgit v1.2.3-1-g7c22