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

Bug#689542: unblock: postgresql-common/134wheezy1



Re: Julien Cristau 2012-10-12 <20121012094956.GQ17465@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
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


Reply to: