Re: multi-line commands with quoted SHELL

2007-03-07 Thread Petr Machata
Paul Smith wrote: The problem is that when SHELL contains quotations etc., /bin/sh is invoked, and whole command is passed through that. But the outer shell then destroys the backslash-newline sequences. The solution is to singly-quote these. The attached patch against make 3.81 does this.

Re: multi-line commands with quoted SHELL

2007-02-25 Thread Paul Smith
On Thu, 2007-02-22 at 19:00 +0100, Petr Machata wrote: > There is a bug tracked in Red Hat bugzilla > http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219409 > > The problem is best demonstrated by this Makefile snippet: > > all:;@echo e\ > cho > > With this make invocation, it w

multi-line commands with quoted SHELL

2007-02-23 Thread Petr Machata
Hi list! There is a bug tracked in Red Hat bugzilla http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219409 The problem is best demonstrated by this Makefile snippet: all:;@echo e\ cho With this make invocation, it works as intended: $ make 'SHELL=/bin/sh' echo But when th