aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/deps.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/deps.lua')
-rw-r--r--src/luarocks/deps.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index af05ed05..93148de3 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
@@ -170,12 +170,13 @@ function deps.fulfill_dependency(dep, deps_mode, name, version, rocks_provided,
170 return nil, "Could not satisfy dependency "..tostring(dep)..": "..search_err 170 return nil, "Could not satisfy dependency "..tostring(dep)..": "..search_err
171 end 171 end
172 util.printout("Installing "..url) 172 util.printout("Installing "..url)
173 local install_flags = { 173 local install_args = {
174 rock = url,
174 deps_mode = deps_mode, 175 deps_mode = deps_mode,
175 namespace = dep.namespace, 176 namespace = dep.namespace,
176 verify = verify, 177 verify = verify,
177 } 178 }
178 local ok, install_err, errcode = install.command(install_flags, url) 179 local ok, install_err, errcode = install.command(install_args)
179 if not ok then 180 if not ok then
180 return nil, "Failed installing dependency: "..url.." - "..install_err, errcode 181 return nil, "Failed installing dependency: "..url.." - "..install_err, errcode
181 end 182 end