From 46c36cf30a141e4777c49c2fb2fbde6b636d2c68 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 8 Sep 2011 20:28:29 +0000 Subject: Add EAPI check (just to be sure). --- eclass/bash-completion-r1.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass index 32dcae324aa1..04651df96447 100644 --- a/eclass/bash-completion-r1.eclass +++ b/eclass/bash-completion-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.1 2011/09/08 16:25:54 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.2 2011/09/08 20:28:29 mgorny Exp $ # @ECLASS: bash-completion-r1.eclass # @MAINTAINER: @@ -18,6 +18,11 @@ # } # @CODE +case ${EAPI:-0} in + 0|1|2|3|4) ;; + *) die "EAPI ${EAPI} unsupported (yet)." +esac + # @FUNCTION: dobashcomp # @USAGE: file [...] # @DESCRIPTION: -- cgit v1.2.3-65-gdbad