From d16cdc10394f85540b833bb1bd541479e504197e Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Wed, 2 Jun 2021 00:41:50 +0200 Subject: Move autoupdate file to the persistent .xmake cache folder --- xmake/rules/plugin/vsxmake/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/plugin/vsxmake/xmake.lua b/xmake/rules/plugin/vsxmake/xmake.lua index 1821e5dfb..61e79dfa4 100644 --- a/xmake/rules/plugin/vsxmake/xmake.lua +++ b/xmake/rules/plugin/vsxmake/xmake.lua @@ -37,7 +37,7 @@ rule("plugin.vsxmake.autoupdate") import("core.base.task") -- run only once for all xmake process in vs - local tmpfile = os.tmpfile(path.join(os.projectdir(), "plugin.vsxmake.autoupdate")) + local tmpfile = path.join(os.projectdir(), ".xmake", "plugin.vsxmake.autoupdate") local dependfile = tmpfile .. ".d" local lockfile = io.openlock(tmpfile .. ".lock") if lockfile:trylock() then -- cgit v1.3.1