aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fs/unix/tools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/unix/tools.lua b/src/luarocks/fs/unix/tools.lua
index 7535d679..84ac369c 100644
--- a/src/luarocks/fs/unix/tools.lua
+++ b/src/luarocks/fs/unix/tools.lua
@@ -325,7 +325,7 @@ local md5_cmd = {
325function get_md5(file) 325function get_md5(file)
326 local cmd = md5_cmd[cfg.md5checker] 326 local cmd = md5_cmd[cfg.md5checker]
327 if not cmd then return nil, "no MD5 checker command configured" end 327 if not cmd then return nil, "no MD5 checker command configured" end
328 local pipe = io.popen(cmd.." "..fs.absolute_name(file)) 328 local pipe = io.popen(cmd.." "..fs.Q(fs.absolute_name(file)))
329 local computed = pipe:read("*a") 329 local computed = pipe:read("*a")
330 pipe:close() 330 pipe:close()
331 if computed then 331 if computed then