Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Nested die error
Date: Fri, 15 Apr 2005 03:20:06
In Reply to: Re: [gentoo-dev] Nested die error by "Olivier CrĂȘte"
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