aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/luarocks/fs/unix/tools.lua2
-rw-r--r--src/luarocks/help.lua3
2 files changed, 3 insertions, 2 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
diff --git a/src/luarocks/help.lua b/src/luarocks/help.lua
index 2136f5da..2c87e7e4 100644
--- a/src/luarocks/help.lua
+++ b/src/luarocks/help.lua
@@ -64,7 +64,8 @@ function run(...)
64 given URL. 64 given URL.
65 --tree=<tree> Which tree to operate on. 65 --tree=<tree> Which tree to operate on.
66 --local Use the tree in the user's home directory. 66 --local Use the tree in the user's home directory.
67 To enable it, see ']]..program..[[ help path'.]]) 67 To enable it, see ']]..program..[[ help path'.
68 --verbose Display verbose output of commands executed.]])
68 print_section("VARIABLES") 69 print_section("VARIABLES")
69 util.printout([[ 70 util.printout([[
70 Variables from the "variables" table of the configuration file 71 Variables from the "variables" table of the configuration file