diff options
| author | ruki <[email protected]> | 2016-06-01 08:16:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-06-01 08:16:54 +0800 |
| commit | e720bbe224eb7aec57ca488a67e840a685fe612f (patch) | |
| tree | 2735ac6524ec7ca93f7508eadfdfc3241ee08f0c /xmake/plugins/macro/main.lua | |
| parent | 5b2e0333389158094a2a8bb796e13f99fac422e7 (diff) | |
list lua scripts and fix arguments
Diffstat (limited to 'xmake/plugins/macro/main.lua')
| -rwxr-xr-x | xmake/plugins/macro/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/macro/main.lua b/xmake/plugins/macro/main.lua index 89c6e1f54..3de5ca598 100755 --- a/xmake/plugins/macro/main.lua +++ b/xmake/plugins/macro/main.lua @@ -201,7 +201,7 @@ function _run(macroname) macro = import(macroname, {rootdir = _directory()}) -- run macro - macro.main((option.get("argv") or ""):split("%s")) + macro.main(option.get("arguments")) -- trace print("run macro(%s) ok!", macroname) |
