Re: [PATCH] build-system: use a shell variable for TMPFILE in debian-snapshot

Subject:Re: [PATCH] build-system: use a shell variable for TMPFILE in debian-snapshot

Date:Sun, 18 Dec 2011 06:46:46 -0400

To:Tomi Ollila ,notmuch@notmuchmail.org

Cc:

From:David Bremner


On Sun, 18 Dec 2011 10:48:44 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> On Sat, 17 Dec 2011 23:16:51 -0400, David Bremner <david@tethera.net> wrote:
> 
> I was originally suggesting to add 'set -e' and trap 'cleanup' 0
> to the code but that starts looking ever messier. In case of
> debian-snapshot: one needs to check whether output is procuded
> as it should be; building this goal will always exit with
> zero value (provided that last echo ... succeeds).
> 

I think that's acceptable here. It is really a convenience target. 
Pushed.

d

Thread: