Skip to content

Commit

Permalink
Use install.command instead of install.run in luarocks.deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Jun 13, 2016
1 parent f75295e commit 1ea7273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luarocks/deps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ function deps.fulfill_dependencies(rockspec, deps_mode)
return nil, "Could not satisfy dependency "..deps.show_dep(dep)..": "..search_err
end
util.printout("Installing "..url)
local ok, install_err, errcode = install.run(url, deps.deps_mode_to_flag(deps_mode))
local ok, install_err, errcode = install.command({deps_mode = deps_mode}, url)
if not ok then
return nil, "Failed installing dependency: "..url.." - "..install_err, errcode
end
Expand Down

0 comments on commit 1ea7273

Please sign in to comment.