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: Mike Frysinger <vapier@g.o>
Subject: Re: Nested die error
Date: Thu, 14 Apr 2005 23:20:13 -0400
On Thursday 14 April 2005 05:57 pm, Olivier CrĂȘte wrote:
> You can do if/then/fi or
> use blah && { emake foo || die; }
>
> {} will not spawn a sub-shell... just execute them in the same shell so
> the die will work properly

both syntaxes are ugly imho but the best thing would be to use if/then/fi 
because many more developers understand that than the 1 line { } code
-mike

--
gentoo-dev@g.o mailing list

References:
Nested die error
-- Caleb Tennis
Re: Nested die error
-- Olivier CrĂȘte
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Nested die error
Next by thread:
Re: Nested die error
Previous by date:
Re: Nested die error
Next by date:
Re: reply-to munging


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

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