From 882430fde4f0066e9adbbb664b98612fa4cf3bc1 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 11 Jun 2015 16:58:01 +0800 Subject: add self for tools --- xmake/scripts/tools/tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/scripts/tools/tools.lua') diff --git a/xmake/scripts/tools/tools.lua b/xmake/scripts/tools/tools.lua index abcee4018..9b5c457e2 100644 --- a/xmake/scripts/tools/tools.lua +++ b/xmake/scripts/tools/tools.lua @@ -142,7 +142,7 @@ function tools.load(name, root) -- init tool if tool and tool.init then - tool.init(name) + tool:init(name) end -- save tool to the cache -- cgit v1.3.1