mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 06:27:57 +00:00
Formerly job.c.~66~
This commit is contained in:
parent
3b69c7a484
commit
792819609a
1 changed files with 8 additions and 0 deletions
8
job.c
8
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;
|
||||
|
|
Loading…
Reference in a new issue