[Top][All Lists]
[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
From: |
Paul D. Smith |
Subject: |
[bug #27495] echo behaves different in pipe for /bin/sh symlinked to dash |
Date: |
Wed, 23 Sep 2009 12:34:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) 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:
<http://savannah.gnu.org/bugs/?27495>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/