1 |
Signed-off-by: William Hubbs <williamh@g.o> |
2 |
--- |
3 |
eclass/lua-single.eclass | 9 ++------- |
4 |
1 file changed, 2 insertions(+), 7 deletions(-) |
5 |
|
6 |
diff --git a/eclass/lua-single.eclass b/eclass/lua-single.eclass |
7 |
index 7abe1eb6674..ab4fdb3c75a 100644 |
8 |
--- a/eclass/lua-single.eclass |
9 |
+++ b/eclass/lua-single.eclass |
10 |
@@ -62,15 +62,10 @@ |
11 |
# } |
12 |
# @CODE |
13 |
|
14 |
-case ${EAPI:-0} in |
15 |
- 0|1|2|3|4|5|6) |
16 |
- die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}" |
17 |
- ;; |
18 |
+case ${EAPI} in |
19 |
7|8) |
20 |
;; |
21 |
- *) |
22 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
23 |
- ;; |
24 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
25 |
esac |
26 |
|
27 |
if [[ ! ${_LUA_SINGLE_R0} ]]; then |
28 |
-- |
29 |
2.31.1 |