On Fri, 02 Nov 2018 11:27:29 +0100 Ulrich Mueller wrote:
> >>>>> On Thu, 01 Nov 2018, Andrew Savchenko wrote:
>  
> > -inherit eutils toolchain-funcs
> > +inherit toolchain-funcs
> > +case ${EAPI:-0} in
> > +   # not used in the eclass, but left for backward compatibility with 
> > legacy users
> > +   4|5|6) inherit eutils ;;
> > +   7) ;;
> > +   *) die "EAPI=${EAPI} is not supported" ;;
> > +esac
> >  
> >  case ${EAPI:-0} in
> > -   4|5|6) EXPORT_FUNCTIONS pkg_setup ;;
> > +   4|5|6|7) EXPORT_FUNCTIONS pkg_setup ;;
> >     *) die "EAPI=${EAPI} is not supported" ;;
> >  esac
> 
> Why is the second case statement needed? Program flow can only reach it
> if the EAPI is 4, 5, 6, or 7.

Just a remnant from older version. Fixed.

Best regards,
Andrew Savchenko

Attachment: pgp3a27iuBHbf.pgp
Description: PGP signature

Reply via email to