summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-10 22:33:09 +0800
committerruki <[email protected]>2025-04-10 22:33:09 +0800
commit55dc13e2761a4b832bb8c7953043c494f50d90b7 (patch)
tree487cf30cc7f4277c86c197608876839727b14a28
parent45ca6fea545babb73773b536e6e056e6ca71fe4f (diff)
fix recheck
-rw-r--r--xmake/actions/config/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 3dfeb7142..899748d2e 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -95,6 +95,7 @@ function _need_check(changed)
if not changed then
if os.mtime(path.join(os.programdir(), "core", "main.lua")) > os.mtime(config.filepath()) then
changed = true
+ os.touch(config.filepath(), {mtime = os.time()})
end
end
return changed