diff options
Diffstat (limited to 'eclass/lua-utils.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 |