Follow-up Comment #3, bug #27495 (project make):

Because if you change the value of SHELL to a command that make doesn't
recognize as a POSIX sh implementation, it disables the fast path altogether. 
There's nothing saying you can't use a completely different program, like Perl
or Python or Ruby or something, as SHELL, in which case all make's parsing,
etc. would be wrong.  So, if SHELL is not a known POSIX sh then make never
uses the fast path.

Make does not recognize /bin/dash as a POSIX sh, by default, so if you set
SHELL to /bin/bash it will ALWAYS invoke the shell and never use the fast
path, so you ALWAYS get the builtin echo behavior.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27495>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to