mirror of
https://github.com/mirror/make.git
synced 2025-03-25 01:00:30 +08:00
(start_job_command): When ARGV is nil, only set update_state and call
notice_finished_file if job_next_command returns zero.
This commit is contained in:
parent
eac1e9ee66
commit
c0163410d2
8
job.c
8
job.c
@ -594,8 +594,12 @@ start_job_command (child)
|
||||
/* This line has no commands. Go to the next. */
|
||||
if (job_next_command (child))
|
||||
start_job_command (child);
|
||||
child->file->update_status = 0;
|
||||
notice_finished_file (child->file);
|
||||
else
|
||||
{
|
||||
/* No more commands. All done. */
|
||||
child->file->update_status = 0;
|
||||
notice_finished_file (child->file);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user