1 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
2 |
--- |
3 |
eclass/readme.gentoo-r1.eclass | 12 +++--------- |
4 |
1 file changed, 3 insertions(+), 9 deletions(-) |
5 |
|
6 |
diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass |
7 |
index e47e1ac20af6..3ad36fac2588 100644 |
8 |
--- a/eclass/readme.gentoo-r1.eclass |
9 |
+++ b/eclass/readme.gentoo-r1.eclass |
10 |
@@ -20,15 +20,9 @@ |
11 |
if [[ -z ${_README_GENTOO_ECLASS} ]]; then |
12 |
_README_GENTOO_ECLASS=1 |
13 |
|
14 |
-case "${EAPI:-0}" in |
15 |
- 0|1|2|3|4|5) |
16 |
- die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
17 |
- ;; |
18 |
- 6|7|8) |
19 |
- ;; |
20 |
- *) |
21 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
22 |
- ;; |
23 |
+case ${EAPI} in |
24 |
+ 6|7|8) ;; |
25 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
26 |
esac |
27 |
|
28 |
# @ECLASS-VARIABLE: DISABLE_AUTOFORMATTING |
29 |
-- |
30 |
2.32.0 |