summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_lua.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-11 16:58:01 +0800
committerruki <[email protected]>2015-06-11 16:58:01 +0800
commit882430fde4f0066e9adbbb664b98612fa4cf3bc1 (patch)
treef5eeeb2961d22bfd68a80d95404e07396791336e /xmake/scripts/action/_lua.lua
parent76fd1ccaf43262df8fae3d9d3bfba1c2f0e04ca5 (diff)
add self for tools
Diffstat (limited to 'xmake/scripts/action/_lua.lua')
-rw-r--r--xmake/scripts/action/_lua.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/action/_lua.lua b/xmake/scripts/action/_lua.lua
index 8801307d2..11385a052 100644
--- a/xmake/scripts/action/_lua.lua
+++ b/xmake/scripts/action/_lua.lua
@@ -86,11 +86,11 @@ function _lua.done()
-- init module
if module.init then
- module.init(options.script)
+ module:init(options.script)
end
-- done module
- return module.main(arguments)
+ return module:main(arguments)
end
end
end