diff --git a/eclass/lua-utils.eclass b/eclass/lua-utils.eclass index 59959eaf9c08b..278bbca58a39a 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