On Thu, 2005-14-04 at 16:42 -0500, Caleb Tennis wrote:
> So it seems repoman doesn't like nested die calls like this:
> 
> use blah && ( emake foo || die )
> 
> 
> But, without the parenthesis
> 
> use blah && emake foo || die
> 
> always dies (the emake functions just fine, but it returns an error once 
> emake 
> is completed).
> 
> What's the trick?  Wrap the emake in a if/then call?  Ignore repoman at the 
> risk of potential finger breakage by mr_bones'?

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

-- 
Olivier Crête
[EMAIL PROTECTED]
x86 Security Liaison

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to