Follow-up Comment #1, bug #30748 (project make):

It seems appending the shell flag "-c" was dropped between the releases:

$ strace -f make -f ../y.mk # or really snip thereof
[pid 16358] execve("/bin/sh", ["/bin/sh", "-c", "python^ -c print\ 7"], [/*
48 vars */]) = 0
$ strace -f ./make -f ../y.mk # again, a snip thereof
[pid 16372] execve("/bin/sh", ["/bin/sh", "python^ -c print\ 7"], [/* 48 vars
*/]) = 0

I'm attaching a patch that fixes this by setting shellflags to default value
"-c" if not set.  That renders my earlier patch unnecessary.

(file #21203)
    _______________________________________________________

Additional Item Attachment:

File name: make-3.82-weird-shell.patch    Size:0 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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