1 |
Signed-off-by: Arthur Zamarin <arthurzam@g.o> |
2 |
--- |
3 |
eclass/rebar.eclass | 14 ++++---------- |
4 |
1 file changed, 4 insertions(+), 10 deletions(-) |
5 |
|
6 |
diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass |
7 |
index c982dea5d1..1c7bc20def 100644 |
8 |
--- a/eclass/rebar.eclass |
9 |
+++ b/eclass/rebar.eclass |
10 |
@@ -6,7 +6,7 @@ |
11 |
# maintainer-needed@g.o |
12 |
# @AUTHOR: |
13 |
# Amadeusz Żołnowski <aidecoe@g.o> |
14 |
-# @SUPPORTED_EAPIS: 6 7 |
15 |
+# @SUPPORTED_EAPIS: 6 7 8 |
16 |
# @BLURB: Build Erlang/OTP projects using dev-util/rebar. |
17 |
# @DESCRIPTION: |
18 |
# An eclass providing functions to build Erlang/OTP projects using |
19 |
@@ -19,15 +19,9 @@ |
20 |
# targets. The eclass workarounds some of these problems. It handles |
21 |
# installation in a generic way for Erlang/OTP structured projects. |
22 |
|
23 |
-case "${EAPI:-0}" in |
24 |
- 0|1|2|3|4|5) |
25 |
- die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
26 |
- ;; |
27 |
- 6|7) |
28 |
- ;; |
29 |
- *) |
30 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
31 |
- ;; |
32 |
+case ${EAPI} in |
33 |
+ 6|7|8) ;; |
34 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
35 |
esac |
36 |
|
37 |
EXPORT_FUNCTIONS src_prepare src_compile src_test src_install |
38 |
-- |
39 |
2.37.3 |