diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-05 16:05:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-05 16:05:54 +0200 |
commit | 71153a8d938fd1eab9c5b8dbdfece1ea94549d2e (patch) | |
tree | 5cbc9c54f16a38888ba7f193f34045c115d7a7c3 | |
parent | 02178c2683349a5a47f313fb92e22f7d28039da4 (diff) |
Preserve timestamp when copying backlink
-rw-r--r-- | libbuild2/algorithm.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx index 963714b..ded34b4 100644 --- a/libbuild2/algorithm.cxx +++ b/libbuild2/algorithm.cxx @@ -1169,7 +1169,8 @@ namespace build2 } } else - cpfile (p, l, cpflags::overwrite_content); + cpfile (p, l, (cpflags::overwrite_content | + cpflags::copy_timestamps)); break; } |