Subject: Re: make -j and failure modes
To: James Chacon <jmc@NetBSD.org>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 12/09/2003 22:59:03
On Dec 9, 7:52pm, jmc@NetBSD.org (James Chacon) wrote:
-- Subject: Re: make -j and failure modes
| On Wed, Dec 10, 2003 at 12:48:28AM +0000, Christos Zoulas wrote:
| > In article <20031209213358.GA29967@netbsd.org>,
| > James Chacon <email@example.com> wrote:
| > >1. Have make scan the command for parens and if it finds them, exec via
| > > the compat methods.
| > >2. Fix sh to deal with group'd commands and -e. Then provide nbsh as a host
| > > tool and tell make to use it.
| > >3. Go through all the Makefile's and change (... && ...) into .... && ...
| > >
| > >(I'm leaning towards #2 but I need opinions/knowledge on whether sh is
| > >doing the right thing or not.)
| > >
| > 4. fix make so that it outputs:
| > cmd1 && cmd2
| > instead of cmd1\ncmd2\n
| I don't follow..What would this fix? The problem is the sh not exiting on
| error in all cases with -e.
The shell would not execute cmd2 and exit with error code 1.