diff options
Diffstat (limited to 'lualibs-util-env.lua')
-rw-r--r-- | lualibs-util-env.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualibs-util-env.lua b/lualibs-util-env.lua index 0a708ea..e96a464 100644 --- a/lualibs-util-env.lua +++ b/lualibs-util-env.lua @@ -197,7 +197,7 @@ function environment.reconstructcommandline(arg,noquote) a = resolvers.resolve(a) a = unquoted(a) a = gsub(a,'"','\\"') -- tricky - if find(a," ") then + if find(a," ",1,true) then result[#result+1] = quoted(a) else result[#result+1] = a |