From a50652b3e3323a9492c32d2ca6e97befd7d9755b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Nov 2021 09:40:25 +0200 Subject: Generalize depdb::touch functionality to support custom timestamp --- libbuild2/adhoc-rule-buildscript.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/adhoc-rule-buildscript.cxx') diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx index 78f87ae..e8bc20d 100644 --- a/libbuild2/adhoc-rule-buildscript.cxx +++ b/libbuild2/adhoc-rule-buildscript.cxx @@ -503,7 +503,7 @@ namespace build2 } if (update && dd.reading () && !ctx.dry_run) - dd.touch = true; + dd.touch = timestamp_unknown; dd.close (); md->dd = move (dd.path); -- cgit v1.1