From: Roland McGrath Date: Tue, 12 May 1992 21:32:24 +0000 (+0000) Subject: Formerly job.c.~66~ X-Git-Tag: 3.70.2~774 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=792819609af9af8679b8b271a74c86bbc49686bd;p=thirdparty%2Fmake.git Formerly job.c.~66~ --- diff --git a/job.c b/job.c index 44361c86..a842dda4 100644 --- a/job.c +++ b/job.c @@ -1079,6 +1079,14 @@ construct_command_argv_internal (line, restp, shell, ifs) ++i; new_argv[i] = 0; + if (i == 1) + { + register int j; + for (j = 0; sh_cmds[j] != 0; ++j) + if (streq (sh_cmds[j], new_argv[0])) + goto slow; + } + if (new_argv[0] == 0) /* Line was empty. */ return 0;