Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 23:00:15 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Poul-Henning Kamp <phk@FreeBSD.ORG>
Cc:        wosch@DE.FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/6550
Message-ID:  <19980508230015.42987@panke.de>
In-Reply-To: <199805082009.NAA12701@freefall.freebsd.org>; from Poul-Henning Kamp on Fri, May 08, 1998 at 01:09:44PM -0700
References:  <199805082009.NAA12701@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-05-08 13:09:44 -0700, Poul-Henning Kamp wrote:
> Synopsis: make(1): shell meta-character optimization incomplete
> 
> State-Changed-From-To: open-closed
> State-Changed-By: phk
> State-Changed-When: Fri May 8 13:08:14 PDT 1998
> State-Changed-Why: 
> The canonical way to do this is to use /bin/false rather than
> exit.  Using exit would result in potentially confusing exit codes from make
> which would be A Bad Thing.

The `potentially confusing exit code' is intentionally.

A workaround is to use a meta char to force using sh -c, e.g.
the semicolon.

	exit 3;

-- 
Wolfram Schneider <wosch@freebsd.org> http://www.freebsd.org/~wosch/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980508230015.42987>