diff options
| author | ruki <[email protected]> | 2016-05-31 20:28:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-31 20:28:02 +0800 |
| commit | ab0596a0fda80b663f13d53188636361efa78f3c (patch) | |
| tree | 6f3973354e18b2d67c64dcb26706c56f71b80839 /xmake/plugins/macro/main.lua | |
| parent | a976651039f008aa7e0e7ec6cfee57bfb2aea6fa (diff) | |
split argv for macro
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 4462929c7..b57773acf 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")) + macro.main((option.get("argv") or ""):split("%s")) -- trace print("run macro(%s) ok!", macroname) |
