diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-09-08 20:28:29 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-09-08 20:28:29 +0000 |
commit | 46c36cf30a141e4777c49c2fb2fbde6b636d2c68 (patch) | |
tree | 54302e123d8d74e10b5ddd0e1ed899fd917c49f7 /eclass | |
parent | version bump (diff) | |
download | gentoo-2-46c36cf30a141e4777c49c2fb2fbde6b636d2c68.tar.gz gentoo-2-46c36cf30a141e4777c49c2fb2fbde6b636d2c68.tar.bz2 gentoo-2-46c36cf30a141e4777c49c2fb2fbde6b636d2c68.zip |
Add EAPI check (just to be sure).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/bash-completion-r1.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
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: |