From owner-freebsd-bugs Sat May 9 00:23:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06788 for freebsd-bugs-outgoing; Sat, 9 May 1998 00:23:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06781 for ; Sat, 9 May 1998 00:23:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA15611; Sat, 9 May 1998 00:20:00 -0700 (PDT) Date: Sat, 9 May 1998 00:20:00 -0700 (PDT) Message-Id: <199805090720.AAA15611@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Poul-Henning Kamp Subject: Re: bin/6550 Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6550; it has been noted by GNATS. From: Poul-Henning Kamp To: Wolfram Schneider 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