diff options
author | William Hubbs <williamh@gentoo.org> | 2021-07-06 16:45:06 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-07-06 16:45:06 -0500 |
commit | 152cffa462adca8b471cd848cbfcb05b9cb24de1 (patch) | |
tree | ae717e9813f9762daf125164bb48b6051563e58a /eclass | |
parent | lua-single.eclass: clean up the eapi test (diff) | |
download | gentoo-152cffa462adca8b471cd848cbfcb05b9cb24de1.tar.gz gentoo-152cffa462adca8b471cd848cbfcb05b9cb24de1.tar.bz2 gentoo-152cffa462adca8b471cd848cbfcb05b9cb24de1.zip |
lua-utils.eclass: clean up the eapi test
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/lua-utils.eclass | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/lua-utils.eclass b/eclass/lua-utils.eclass index 59959eaf9c08..278bbca58a39 100644 --- a/eclass/lua-utils.eclass +++ b/eclass/lua-utils.eclass @@ -17,15 +17,10 @@ # This eclass neither sets any metadata variables nor exports any phase # functions. It can be inherited safely. -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_UTILS_R0} ]]; then |