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