aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/deps.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index 44998220..f8deff3c 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
@@ -479,7 +479,7 @@ function deps.fulfill_dependencies(rockspec, deps_mode)
479 return nil, "Could not satisfy dependency "..deps.show_dep(dep)..": "..search_err 479 return nil, "Could not satisfy dependency "..deps.show_dep(dep)..": "..search_err
480 end 480 end
481 util.printout("Installing "..url) 481 util.printout("Installing "..url)
482 local ok, install_err, errcode = install.run(url, deps.deps_mode_to_flag(deps_mode)) 482 local ok, install_err, errcode = install.command({deps_mode = deps_mode}, url)
483 if not ok then 483 if not ok then
484 return nil, "Failed installing dependency: "..url.." - "..install_err, errcode 484 return nil, "Failed installing dependency: "..url.." - "..install_err, errcode
485 end 485 end