diff options
Diffstat (limited to 'build/rule.cxx')
-rw-r--r-- | build/rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rule.cxx b/build/rule.cxx index c6bfe7a..aa0300a 100644 --- a/build/rule.cxx +++ b/build/rule.cxx @@ -220,7 +220,7 @@ namespace build const path& d (t.dir); // Everything is in t.dir. - if (path_mtime (d) == timestamp_nonexistent) + if (!dir_exists (d)) { if (verb >= 1) text << "mkdir " << d.string (); |