(notice_finished_file): Only mark also_make's as updated if really ran

cmds.
This commit is contained in:
Roland McGrath 1994-11-23 03:42:34 +00:00
parent 4867409da2
commit e8f64b2c88

View file

@ -639,7 +639,7 @@ notice_finished_file (file)
f->last_mtime = file->last_mtime; f->last_mtime = file->last_mtime;
} }
if (file->update_status != -1) if (ran && file->update_status != -1)
/* We actually tried to update FILE, which has /* We actually tried to update FILE, which has
updated its also_make's as well (if it worked). updated its also_make's as well (if it worked).
If it didn't work, it wouldn't work again for them. If it didn't work, it wouldn't work again for them.