summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-07-06 16:45:07 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-07-06 16:45:07 -0500
commit46d1e1293985a84628cd71a369a9dde758ef2d0d (patch)
treeb9913558a70c218285748519642b96ac1aa58ece /eclass
parentlua-utils.eclass: clean up the eapi test (diff)
downloadgentoo-46d1e1293985a84628cd71a369a9dde758ef2d0d.tar.gz
gentoo-46d1e1293985a84628cd71a369a9dde758ef2d0d.tar.bz2
gentoo-46d1e1293985a84628cd71a369a9dde758ef2d0d.zip
lua.eclass: clean up the eapi test
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/lua.eclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/lua.eclass b/eclass/lua.eclass
index e3a25c5d184b..e9a5c1175608 100644
--- a/eclass/lua.eclass
+++ b/eclass/lua.eclass
@@ -50,15 +50,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_R0} ]]; then