]> git.ipfire.org Git - ipfire-3.x.git/blob - make/patches/make-4.0-weird-shell.patch
make: Update to version 4.0
[ipfire-3.x.git] / make / patches / make-4.0-weird-shell.patch
1 diff -up make-3.82/job.c\~ make-3.82/job.c
2 --- make-3.82/job.c~ 2010-08-11 16:13:33.000000000 +0200
3 +++ make-3.82/job.c 2010-08-12 14:20:08.000000000 +0200
4 @@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
5
6 /* See if it is safe to parse commands internally. */
7 if (shell == 0)
8 - shell = default_shell;
9 + {
10 + shell = default_shell;
11 + if (shellflags == 0)
12 + shellflags = "-c";
13 + }
14 #ifdef WINDOWS32
15 else if (strcmp (shell, default_shell))
16 {