On Sun, 6 Dec 2015 22:32:30 +0100
Ulrich Mueller <u...@gentoo.org> wrote:

> >>>>> On Sun, 6 Dec 2015, Michał Górny wrote:
> 
> >  # EAPI=4 is required for meaningful MULTILIB_USEDEP.
> >  case ${EAPI:-0} in
> > -   4|5) ;;
> > +   [456]) ;;
> >     *) die "EAPI=${EAPI} is not supported" ;;
> >  esac
> 
> Why not write this as 4|5|6) for better readability? It's not even
> shorter with the brackets.

Or [4-6]) perhaps? It would not get any longer for later versions. ;)

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

Attachment: pgpfHuFjBQv0f.pgp
Description: OpenPGP digital signature

Reply via email to