Subject: Re: xorg-libs on sparc64
To: None <tech-pkg@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-pkg
Date: 11/24/2006 20:56:16
On Fri, Nov 24, 2006 at 07:03:22PM +0100, Christian Biere wrote:
> Christian Biere wrote:
> > I guess that's why people use '&&' or '||' or "set +e" in Makefiles.
> 
> err set -e

Actually even using 'set -e' isn't guaranteed to work.
The posix rules for when it should cause a shell to exit are rather arcane.
All but the simplest uses are frought with danger (especially givem
the suggested makefile fragment.

make itself is only expected to abandon the commands if the shell command
on a single line (after continuation lines) returns non-zero.

	David

-- 
David Laight: david@l8s.co.uk