Re: Issue using "command" shell builtin in make rules.

2017-11-18 Thread Nick Bowler
On 11/18/17, Paul Smith wrote: > On Tue, 2017-11-07 at 13:43 -0500, Nick Bowler wrote: >> Is this behaviour intended? I noticed the manual says "make may take >> shortcuts that do not affect the results" but in this instance a change >> in results is definitely

Issue using "command" shell builtin in make rules.

2017-11-07 Thread Nick Bowler
Hi, GNU make (version 4.2.1) appears to have some magic to bypass shell invocations when running commands. I guess this usually helps with performance but I noticed a failure when using the 'command' shell builtin. For example: % cat >Makefile <<'EOF' foo: command -v ls .PHONY: fo