diff options
author | Hisham <hisham@gobolinux.org> | 2016-03-01 23:48:21 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-03-01 23:48:21 -0300 |
commit | 6cf3159a9b71e58a055e359021174da958348e7a (patch) | |
tree | a150fb82826a6c78b9b2eb539fb68a7889dec1a4 /src | |
parent | d660123534a01c887e8c9ba1b1c5c7a55c604741 (diff) | |
download | luarocks-6cf3159a9b71e58a055e359021174da958348e7a.tar.gz luarocks-6cf3159a9b71e58a055e359021174da958348e7a.tar.bz2 luarocks-6cf3159a9b71e58a055e359021174da958348e7a.zip |
Make sure deps-mode is respected when recursing the dependency chain.
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/deps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index acc571f8..a2215351 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua | |||
@@ -488,7 +488,7 @@ function deps.fulfill_dependencies(rockspec, deps_mode) | |||
488 | if not rock then | 488 | if not rock then |
489 | return nil, "Could not satisfy dependency: "..deps.show_dep(dep) | 489 | return nil, "Could not satisfy dependency: "..deps.show_dep(dep) |
490 | end | 490 | end |
491 | local ok, err, errcode = install.run(rock) | 491 | local ok, err, errcode = install.run(rock, deps.deps_mode_to_flag(deps_mode)) |
492 | if not ok then | 492 | if not ok then |
493 | return nil, "Failed installing dependency: "..rock.." - "..err, errcode | 493 | return nil, "Failed installing dependency: "..rock.." - "..err, errcode |
494 | end | 494 | end |