aboutsummaryrefslogtreecommitdiff
path: root/build2/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/rule.cxx')
-rw-r--r--build2/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/rule.cxx b/build2/rule.cxx
index 0fcfde2..58340b5 100644
--- a/build2/rule.cxx
+++ b/build2/rule.cxx
@@ -208,7 +208,7 @@ namespace build2
// going to get better performance by first checking if it indeed
// exists. See try_mkdir() for details.
//
- if (!dir_exists (d))
+ if (!exists (d))
{
if (verb >= 2)
text << "mkdir " << d;