aboutsummaryrefslogtreecommitdiffstats
path: root/main/make/make-3.82-weird-shell.patch
blob: dfdaf89c9ec70d6f2aa05b263e1e7a211a3eae24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -up make-3.82/job.c\~ make-3.82/job.c
--- make-3.82/job.c~	2010-08-11 16:13:33.000000000 +0200
+++ make-3.82/job.c	2010-08-12 14:20:08.000000000 +0200
@@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
 
   /* See if it is safe to parse commands internally.  */
   if (shell == 0)
-    shell = default_shell;
+    {
+      shell = default_shell;
+      if (shellflags == 0)
+	shellflags = "-c";
+    }
 #ifdef WINDOWS32
   else if (strcmp (shell, default_shell))
   {