summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/tools.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/tools/tools.lua')
-rw-r--r--xmake/scripts/tools/tools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/tools/tools.lua b/xmake/scripts/tools/tools.lua
index 4c0d0da14..e29a2718b 100644
--- a/xmake/scripts/tools/tools.lua
+++ b/xmake/scripts/tools/tools.lua
@@ -124,7 +124,7 @@ function tools.load(name, root)
-- init tool
if tool and tool.init then
- tool.init()
+ tool.init(name)
end
-- save tool to the cache