diff options
author | William Hubbs <williamh@gentoo.org> | 2021-07-06 16:45:05 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-07-06 16:45:05 -0500 |
commit | 76879309348b02d3b07558a218bd08cdaa069480 (patch) | |
tree | e7aa3d205310cc2c75707f922389c3e72952ac39 /eclass | |
parent | go-module.eclass: add eapi 8 support (diff) | |
download | gentoo-76879309348b02d3b07558a218bd08cdaa069480.tar.gz gentoo-76879309348b02d3b07558a218bd08cdaa069480.tar.bz2 gentoo-76879309348b02d3b07558a218bd08cdaa069480.zip |
lua-single.eclass: clean up the eapi test
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/lua-single.eclass | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/lua-single.eclass b/eclass/lua-single.eclass index 7abe1eb6674a..ab4fdb3c75ac 100644 --- a/eclass/lua-single.eclass +++ b/eclass/lua-single.eclass @@ -62,15 +62,10 @@ # } # @CODE -case ${EAPI:-0} in - 0|1|2|3|4|5|6) - die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}" - ;; +case ${EAPI} in 7|8) ;; - *) - die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" - ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac if [[ ! ${_LUA_SINGLE_R0} ]]; then |