summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-update.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/lua/mtx-update.lua')
-rw-r--r--scripts/context/lua/mtx-update.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/context/lua/mtx-update.lua b/scripts/context/lua/mtx-update.lua
index 4908db4da..581774f1e 100644
--- a/scripts/context/lua/mtx-update.lua
+++ b/scripts/context/lua/mtx-update.lua
@@ -220,9 +220,9 @@ function scripts.update.synchronize()
local archives, command = table.concat(archive," "), ""
local normalflags, deleteflags = states.get("rsync.flags.normal"), states.get("rsync.flags.delete")
if true then -- environment.argument("keep") or destination:find("%.$") then
- command = string.format("%s %s %s'%s' %s", bin, normalflags, url, archives, destination)
+ command = string.format("%s %s %s'%s' '%s'", bin, normalflags, url, archives, destination)
else
- command = string.format("%s %s %s %s'%s' %s", bin, normalflags, deleteflags, url, archives, destination)
+ command = string.format("%s %s %s %s'%s' '%s'", bin, normalflags, deleteflags, url, archives, destination)
end
logs.report("mtx update", string.format("running command: %s",command))
if not fetched[command] then