Date: Sat, 9 May 1998 00:20:00 -0700 (PDT) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6550 Message-ID: <199805090720.AAA15611@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/6550; it has been noted by GNATS. From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Wolfram Schneider <wosch@cs.tu-berlin.de> Cc: wosch@DE.FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/6550 Date: Sat, 09 May 1998 08:45:17 +0200 In message <19980508230015.42987@panke.de>, Wolfram Schneider writes: >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; But that doesn't affect makes own exit code, only the exit-code that make detects from the action process. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal 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?199805090720.AAA15611>