[Top][All Lists]

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

Re: [PATCH] Makefile.in: Make for loop failures fatal

From: Chet Ramey
Subject: Re: [PATCH] Makefile.in: Make for loop failures fatal
Date: Mon, 29 Jun 2020 11:08:40 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 6/27/20 4:10 PM, Jessica Clarke wrote:
> Without set -e, these for loops will exit with code 0 and so make will
> regard the recipes as being successful.

If the last command in the body exits with status 0, yes. I'm going to do
this a different way that doesn't use `set -e'.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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