|
|
|
@ -118,8 +118,8 @@ local function ssh(command, user, host, port, identity_file) |
|
|
|
end |
|
|
|
table.insert(pieces, dest) |
|
|
|
|
|
|
|
-- Quote remote command so the local shell treats it as a single arg |
|
|
|
table.insert(pieces, command) |
|
|
|
-- Quote remote command so the local shell treats it as a single arg. |
|
|
|
table.insert(pieces, '"' .. command .. '"') |
|
|
|
|
|
|
|
-- Join with spaces for os.execute |
|
|
|
local function join(args) |
|
|
|
|