diff options
| author | ruki <[email protected]> | 2016-07-05 16:37:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-05 16:37:41 +0800 |
| commit | 7af1dcdeed9e2ecbfc0ba0f4c34e52c99e1cdd89 (patch) | |
| tree | 5d8b2b77ddca5024f350093f882c93a03f7a69e9 /xmake/plugins/macro/macros/package.lua | |
| parent | 7f75b2583b94e733ba0b974860174a9021bc8767 (diff) | |
uses os.exec instead of os.execute
Diffstat (limited to 'xmake/plugins/macro/macros/package.lua')
| -rwxr-xr-x | xmake/plugins/macro/macros/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/macro/macros/package.lua b/xmake/plugins/macro/macros/package.lua index 0fd4e498c..a6edaa5aa 100755 --- a/xmake/plugins/macro/macros/package.lua +++ b/xmake/plugins/macro/macros/package.lua @@ -104,7 +104,7 @@ function main(argv) os.mkdir(format("%s/%s.pkg/lib/%s/%s/universal", outputdir, target:name(), mode, plat)) -- package all archs - os.exec("xmake l lipo \"%s\"", lipoargs) + os.execv("xmake", {"l", "lipo", lipoargs}) end end end |
