[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27495] echo behaves different in pipe for /bin/sh symlinked to das
Paul D. Smith
[bug #27495] echo behaves different in pipe for /bin/sh symlinked to dash
Wed, 23 Sep 2009 12:34:38 +0000
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/2009090216 Ubuntu/8.04 (hardy) Firefox/3.0.14
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:
Message sent via/by Savannah