summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-01 13:04:10 +0800
committerruki <[email protected]>2017-08-01 13:04:10 +0800
commit3e475513ba214e80ef524df95d5c315418f2a798 (patch)
tree9a60f7066e5df9b8149739690bd955dbd1c9d318 /xmake/core/base/os.lua
parentc87c400fcbb581c1590694bf6ee05d73d5d3e984 (diff)
add load compiler and linker api
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 798feb4e2..ad01c67f1 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -161,7 +161,7 @@ function os.args(argv)
-- make it
local args = nil
- for _, arg in ipairs(argv) do
+ for _, arg in ipairs(table.wrap(argv)) do
arg = arg:trim()
if #arg > 0 then
arg = arg:gsub("([\"\\])", "\\%1")