>>>>> On Fri, 02 Jul 2021, William Hubbs wrote:
> case ${EAPI:-0} in
This could be just ${EAPI}.
> - 0|1|2|3|4|5|6)
> - die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}"
> - ;;
> 7|8)
> ;;
> *)
> - die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
> + die "Unsupported EAPI=${EAPI} for ${ECLASS}"
> ;;
May I suggest that we standardise the error message? Many eclasses have
this (see for example toolchain-funcs.eclass):
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
> esac
Same for the other two eclasses.
Ulrich
signature.asc
Description: PGP signature
