build: remove exec prefix from commands with a raw suffix
Allows to append additional commands, for example using `||`.
This commit is contained in:
parent
89efe55c7c
commit
f9062bda0b
@ -99,7 +99,10 @@ function F.escape(s)
|
||||
end
|
||||
|
||||
local function escape_command(command, raw)
|
||||
local ret = 'exec'
|
||||
local ret = ''
|
||||
if not raw then
|
||||
ret = 'exec'
|
||||
end
|
||||
for _, arg in ipairs(command) do
|
||||
ret = ret .. ' ' .. F.escape(arg)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user