1 |
commit: 46d1e1293985a84628cd71a369a9dde758ef2d0d |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 6 21:45:07 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 6 21:45:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d1e129 |
7 |
|
8 |
lua.eclass: clean up the eapi test |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
eclass/lua.eclass | 9 ++------- |
13 |
1 file changed, 2 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/eclass/lua.eclass b/eclass/lua.eclass |
16 |
index e3a25c5d184..e9a5c117560 100644 |
17 |
--- a/eclass/lua.eclass |
18 |
+++ b/eclass/lua.eclass |
19 |
@@ -50,15 +50,10 @@ |
20 |
# } |
21 |
# @CODE |
22 |
|
23 |
-case ${EAPI:-0} in |
24 |
- 0|1|2|3|4|5|6) |
25 |
- die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}" |
26 |
- ;; |
27 |
+case ${EAPI} in |
28 |
7|8) |
29 |
;; |
30 |
- *) |
31 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
32 |
- ;; |
33 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
34 |
esac |
35 |
|
36 |
if [[ ! ${_LUA_R0} ]]; then |