Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Tue, 13 Sep 2011 12:46:54 +0200
On Tue, 13 Sep 2011 06:39:13 -0400
Joshua Kinard <kumba@g.o> wrote:

> On 09/13/2011 06:29, Michał Górny wrote:
> 
> > On Tue, 13 Sep 2011 12:21:31 +0200
> > Michał Górny <mgorny@g.o> wrote:
> > 
> >> +# @FUNCTION: has_iuse
> > 
> > Ideas for a better name will be appreciated.
> 
> 
> 'in_iuse' or 'iuse_contains'?
> 
> if $(in_iuse foobar); do
> 	$(cake)
> fi
> 
> or
> 
> if $(iuse_contains foobar); do
> 	$(cake)
> fi

Guess just a typo but for the record:

if in_iuse foobar; then
	...
fi

i.e. withou $().

-- 
Best regards,
Michał Górny
Attachment:
signature.asc (PGP signature)
Replies:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Joshua Kinard
References:
[PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Michał Górny
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Michał Górny
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Joshua Kinard
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Next by thread:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Previous by date:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Next by date:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.


Updated Jun 23, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.