FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 06-29-2012, 05:14 AM
Mike Frysinger
 
Default Patch: Linguas USE support for cmake-utils.eclass

On Sunday 24 June 2012 04:18:07 Ben de Groot wrote:
> On 24 June 2012 02:32, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Saturday 23 June 2012 13:37:59 Michael Palimaka wrote:
> >> +for x in ${LANGS}; do
> >> + IUSE+=" linguas_${x}"
> >> +done
> >
> > if you don't want to make it into an array:
> > IUSE+=" $(printf 'linguas_%s ' ${LANGS})"
>
> What's wrong with the original? Why the subshell?

printf is faster than a for loop, and prettier imo
-mike
 

Thread Tools




All times are GMT. The time now is 10:49 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org