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

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