aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bash/rule.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-11 20:53:32 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2020-12-14 09:30:44 +0200
commitca6a61f432f3ff0257e868bed36a58540623ab49 (patch)
treee3652b0376b9a6235aec6c32b5d9bd410e0507e5 /libbuild2/bash/rule.cxx
parent4e8e690640c1dc9ecc78edce1c2e11c28850bfa2 (diff)
Fix bug in create_new_target_locked()
Diffstat (limited to 'libbuild2/bash/rule.cxx')
-rw-r--r--libbuild2/bash/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bash/rule.cxx b/libbuild2/bash/rule.cxx
index 9fc89d7..8b47fb0 100644
--- a/libbuild2/bash/rule.cxx
+++ b/libbuild2/bash/rule.cxx
@@ -168,7 +168,7 @@ namespace build2
// Only set path/mtime on first insertion.
//
- if (rp.second.owns_lock ())
+ if (rp.second)
pt.path_mtime (move (ap), mt);
// Save the length of the import path in auxuliary data. We