aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/fs/win32/tools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua
index bfabe9a9..6109ac8f 100644
--- a/src/luarocks/fs/win32/tools.lua
+++ b/src/luarocks/fs/win32/tools.lua
@@ -280,7 +280,7 @@ function download(url, filename, cache)
280 ok = fs.execute(wget_cmd.." --timestamping "..fs.Q(url).." 2> NUL 1> NUL") 280 ok = fs.execute(wget_cmd.." --timestamping "..fs.Q(url).." 2> NUL 1> NUL")
281 fs.pop_dir() 281 fs.pop_dir()
282 elseif filename then 282 elseif filename then
283 ok = fs.execute(wget_cmd.." --output-document "..fs.Q(filename)..fs.Q(url).." 2> NUL 1> NUL") 283 ok = fs.execute(wget_cmd.." --output-document "..fs.Q(filename).." "..fs.Q(url).." 2> NUL 1> NUL")
284 else 284 else
285 ok = fs.execute(wget_cmd..fs.Q(url).." 2> NUL 1> NUL") 285 ok = fs.execute(wget_cmd..fs.Q(url).." 2> NUL 1> NUL")
286 end 286 end