quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] quilt doesn't fail when patches/series is not a file


From: Andreas Gruenbacher
Subject: Re: [Quilt-dev] quilt doesn't fail when patches/series is not a file
Date: Wed, 25 Nov 2009 16:44:24 +0100
User-agent: KMail/1.12.2 (Linux/2.6.31.5-0.1-desktop; KDE/4.3.1; i686; ; )

On Wednesday 25 November 2009 15:51:25 Raphael Hertzog wrote:
> On Wed, 25 Nov 2009, Andreas Gruenbacher wrote:
> > On Wednesday 25 November 2009 10:44:51 Jean Delvare wrote:
> > > What about just fixing the bug that was reported, first?
> > 
> > I've done that now, but that doesn't address the more general problem.  On 
the 
> > other hand, "set -e" also doesn't do the "right thing" for anything but 
simple 
> > commands -- it looks a bit like exception handling in more powerful 
> > programming languages, but in fact it's not.
> 
> It ensures the program stops as soon as an unexpected failure happens, in
> general it limits the amount of damage given an unexpected situation and
> makes the program return a non-zero error code so that the caller knows
> that something went wrong.

We would also have to enable pipefail, which requires bash >= 3.0 from 2004.  
That's probably fine though.

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]