Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] [PATCH 7/9] multilib-build.eclass: Enable EAPI 6
Date: Sun, 06 Dec 2015 21:32:46
Message-Id: 22116.43374.564809.865686@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] [PATCH 7/9] multilib-build.eclass: Enable EAPI 6 by "Michał Górny"
1 >>>>> On Sun, 6 Dec 2015, Michał Górny wrote:
2
3 > # EAPI=4 is required for meaningful MULTILIB_USEDEP.
4 > case ${EAPI:-0} in
5 > - 4|5) ;;
6 > + [456]) ;;
7 > *) die "EAPI=${EAPI} is not supported" ;;
8 > esac
9
10 Why not write this as 4|5|6) for better readability? It's not even
11 shorter with the brackets.
12
13 Ulrich

Replies

Subject Author
Re: [gentoo-dev] [PATCH 7/9] multilib-build.eclass: Enable EAPI 6 James Le Cuirot <chewi@g.o>