Re: Julien Cristau 2012-10-12 <20121012094956.gq17...@radis.cristau.org>
> On Wed, Oct  3, 2012 at 22:44:53 +0200, Martin Pitt wrote:
> 
> > |  * pg_buildext: Fix supported-versions not to die when the last version is
> > |    not supported. Cherry-picked from trunk r1199.
> > 
> > This is a rather obvious failure/fix, and helps packagers of
> > extensions.
> > 
> I wouldn't expect this change to make any difference.

It does:

false && foobar will succeed even with set -e, but will set $? to 1.
If that becomes the return code of the function, the script dies.

if false ; then foobar ; fi does not set $? to 1.

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to