diff options
author | Roland McGrath <roland@redhat.com> | 1992-05-12 21:32:24 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-05-12 21:32:24 +0000 |
commit | 792819609af9af8679b8b271a74c86bbc49686bd (patch) | |
tree | bc96b8c7b1bfd8b7c6fb30b766b80cc7dc8fc4d9 | |
parent | 3b69c7a48472137376679edbd2cc512f4e3879b7 (diff) | |
download | gunmake-792819609af9af8679b8b271a74c86bbc49686bd.tar.gz |
Formerly job.c.~66~
-rw-r--r-- | job.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |