Skip to content
Snippets Groups Projects
Unverified Commit f9062bda authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

build: remove exec prefix from commands with a raw suffix

Allows to append additional commands, for example using `||`.
parent 89efe55c
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment