Blame SOURCES/make-3.82-weird-shell.patch

71dafe
diff -up make-3.82/job.c\~ make-3.82/job.c
71dafe
--- make-3.82/job.c~	2010-08-11 16:13:33.000000000 +0200
71dafe
+++ make-3.82/job.c	2010-08-12 14:20:08.000000000 +0200
71dafe
@@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
71dafe
 
71dafe
   /* See if it is safe to parse commands internally.  */
71dafe
   if (shell == 0)
71dafe
-    shell = default_shell;
71dafe
+    {
71dafe
+      shell = default_shell;
71dafe
+      if (shellflags == 0)
71dafe
+	shellflags = "-c";
71dafe
+    }
71dafe
 #ifdef WINDOWS32
71dafe
   else if (strcmp (shell, default_shell))
71dafe
   {