Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 1998 20:44:52 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-bugs@FreeBSD.ORG, wosch@FreeBSD.ORG
Subject:   Re: bin/6550
Message-ID:  <19980510204452.35461@panke.de>
In-Reply-To: <199805101649.CAA14725@godzilla.zeta.org.au>; from Bruce Evans on Mon, May 11, 1998 at 02:49:33AM %2B1000
References:  <199805101649.CAA14725@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-05-11 02:49:33 +1000, Bruce Evans wrote:
> >Synopsis: make(1): shell meta-character optimization incomplete
> >The bug applies to all ash(1) builtin commands:
> 
> This shows why it isn't really a bug.  `make' can't be expected
> to know about all shell builtins, especially nonstandard ones.
> The bug is that `make' doesn't have a POSIX-conformant mode in
> which it always execs the shell.  No one would use this mode :-).

gmake(1) handle some common builtin commands, e.g. exit and umask.


wosch@freefall <11:29:00> [~/tmp/5] 543
bash$ cat Makefile 
all:
        exit 0
wosch@freefall <11:29:02> [~/tmp/5] 544
bash$ make
exit 0
exit: not found
*** Error code 1

Stop.
wosch@freefall <11:29:06> [~/tmp/5] 545
bash$ gmake
exit 0
wosch@freefall <11:29:08> [~/tmp/5] 546

-- 
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?19980510204452.35461>