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

b7955a
diff -Nrup a/job.c b/job.c
b7955a
--- a/job.c	2016-05-21 16:22:32.000000000 -0400
b7955a
+++ b/job.c	2017-06-11 09:37:31.964954015 -0400
b7955a
@@ -2561,7 +2561,11 @@ construct_command_argv_internal (char *l
b7955a
 
b7955a
   /* See if it is safe to parse commands internally.  */
b7955a
   if (shell == 0)
b7955a
-    shell = default_shell;
b7955a
+    {
b7955a
+      shell = default_shell;
b7955a
+      if (shellflags == 0)
b7955a
+	shellflags = "-c";
b7955a
+    }
b7955a
 #ifdef WINDOWS32
b7955a
   else if (strcmp (shell, default_shell))
b7955a
   {