diff options
-rw-r--r-- | build.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -152,12 +152,13 @@ main(int argc, char *argv[]) "exist\n", argv[0], d); continue; } - free(d); if (sb.st_mtime > ssb.st_mtime) { d("%s: %s is modified, building\n", argv[i], d); + free(d); goto build; } + free(d); } uptodate: |