Gentoo Archives: gentoo-dev

From: Ben de Groot <yngwin@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Patch: Linguas USE support for cmake-utils.eclass
Date: Sun, 24 Jun 2012 08:19:29
Message-Id: CAB9SyzTj9RLc6eeCsBvhvbRXRpOfsLKBXJBpnKb00eHTDb=DzQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] Patch: Linguas USE support for cmake-utils.eclass by Mike Frysinger
1 On 24 June 2012 02:32, Mike Frysinger <vapier@g.o> wrote:
2 > On Saturday 23 June 2012 13:37:59 Michael Palimaka wrote:
3 >> +for x in ${LANGS}; do
4 >> +       IUSE+=" linguas_${x}"
5 >> +done
6 >
7 > if you don't want to make it into an array:
8 > IUSE+=" $(printf 'linguas_%s ' ${LANGS})"
9 > -mike
10
11 What's wrong with the original? Why the subshell?
12
13 --
14 Cheers,
15
16 Ben | yngwin
17 Gentoo developer
18 Gentoo Qt project lead

Replies

Subject Author
Re: [gentoo-dev] Patch: Linguas USE support for cmake-utils.eclass Mike Frysinger <vapier@g.o>