summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-11-23 03:42:34 +0000
committerRoland McGrath <roland@redhat.com>1994-11-23 03:42:34 +0000
commite8f64b2c887ecd0f08fb75b4394fe9ee6e3f1d5f (patch)
tree25ceda4a0704f2a13eac6cccc1aded964b2da665
parent4867409da2bbbd35d19c4313fdd3dc4d27ace446 (diff)
downloadgunmake-e8f64b2c887ecd0f08fb75b4394fe9ee6e3f1d5f.tar.gz
(notice_finished_file): Only mark also_make's as updated if really ran
cmds.
-rw-r--r--remake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remake.c b/remake.c
index e619b44..cab83d9 100644
--- a/remake.c
+++ b/remake.c
@@ -639,7 +639,7 @@ notice_finished_file (file)
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
updated its also_make's as well (if it worked).
If it didn't work, it wouldn't work again for them.