> Date: Fri, 31 Jan 2014 22:15:56 +0900
> From: Mike Hommey <m...@glandium.org>
> Cc: psm...@gnu.org, mh+savan...@glandium.org, bo...@kolpackov.net,
>       bug-make@gnu.org
> 
> On Fri, Jan 31, 2014 at 11:37:47AM +0200, Eli Zaretskii wrote:
> > > Date: Fri, 31 Jan 2014 09:14:32 +0000
> > > From: Mike Hommey <invalid.nore...@gnu.org>
> > > 
> > > This is a different approach to the problem, as suggested by Paul: this
> > > triggers batch mode shell when there are double quotes in the recipe.
> > 
> > This cannot be automatic, as we have deliberately made the double
> > quotes not special for Windows shells.
> 
> You mean cmd.exe? The patch only uses batch mode shell when there are
> double quotes *and* the shell is unixy (so, not cmd.exe)

That's better, but still too subtly to be the default, I think.
Having some essentially random character trigger very different
behavior is bad mojo for a program in general.

> > So please make this
> > conditional on some Make option (sorry, I didn't yet have time to look
> > at the patch).
> 
> An option as command line argument, or as a special target as the
> original patch did?

The former, as Paul objected to the latter.

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

Reply via email to