diff options
-rw-r--r-- | src/luarocks/fs/unix/tools.lua | 2 |
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 = { | |||
325 | function get_md5(file) | 325 | function 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 |