summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-24 02:29:44 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-24 02:29:44 +0000
commitc4381c61135ae8b784c243db3c3f1092c25f8d6a (patch)
tree1df73d9f9fe1b18123be3d9a1d9a88d22c45d6ff /bin/ebuild.sh
parent0f7b2df6fbe0685c3189f0c62ce92c845dbee7e2 (diff)
downloadportage-c4381c61135ae8b784c243db3c3f1092c25f8d6a.tar.gz
portage-c4381c61135ae8b784c243db3c3f1092c25f8d6a.tar.bz2
portage-c4381c61135ae8b784c243db3c3f1092c25f8d6a.zip
Add dummy dosed and dohard functions for EAPI 3, so that a trace can be
displayed (not possible with the helper binaries). svn path=/main/trunk/; revision=13390
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 9cbd748e6..43d428ed7 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1444,6 +1444,14 @@ _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)