Re: /bzr/squid3/trunk/ r10399: Back out the tweak on rev10398.

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 22 Apr 2010 22:06:18 +0200

tor 2010-04-22 klockan 17:13 +1200 skrev Amos Jeffries:

> What hudson was showing was build always exiting at the first of these
> files. Even in the "awk ok -> SUCCESS" case. That needs to be figured
> out before "&& exit 1" can go back on.

right. The sequence of || && is a bit ambiguous. Needs to be explicitly
grouped as in my first variant to get the desired result.

awk || (rm && exit)

alternatively

awk || (rm ; exit)

or using explicit flow control

if ! awk ; then rm ; exit; fi

Regards
Henrik
Received on Thu Apr 22 2010 - 20:03:11 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 23 2010 - 12:00:09 MDT