diff options
Diffstat (limited to 'bin/ebuild-helpers/prepalldocs')
-rwxr-xr-x | bin/ebuild-helpers/prepalldocs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs index 560a02bcb..c9226d603 100755 --- a/bin/ebuild-helpers/prepalldocs +++ b/bin/ebuild-helpers/prepalldocs @@ -1,9 +1,18 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh +case "${EAPI}" in + 0|1|2|3) + ;; + *) + die "'${0##*/}' has been banned for EAPI '$EAPI'" + exit 1 + ;; +esac + if [[ -n $1 ]] ; then vecho "${0##*/}: invalid usage; takes no arguments" 1>&2 fi |