diff options
-rw-r--r-- | src/luarocks/install.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index 8e8b5f6b..76793a3f 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
@@ -55,15 +55,15 @@ function install_binary_rock(rock_file) | |||
55 | ok, err, errcode = deps.check_external_deps(rockspec, "install") | 55 | ok, err, errcode = deps.check_external_deps(rockspec, "install") |
56 | if err then return nil, err, errcode end | 56 | if err then return nil, err, errcode end |
57 | 57 | ||
58 | ok, err, errcode = deps.fulfill_dependencies(rockspec) | ||
59 | if err then return nil, err, errcode end | ||
60 | |||
61 | -- For compatibility with .rock files built with LuaRocks 1 | 58 | -- For compatibility with .rock files built with LuaRocks 1 |
62 | if not fs.exists(path.rock_manifest_file(name, version)) then | 59 | if not fs.exists(path.rock_manifest_file(name, version)) then |
63 | ok, err = manif.make_rock_manifest(name, version) | 60 | ok, err = manif.make_rock_manifest(name, version) |
64 | if err then return nil, err end | 61 | if err then return nil, err end |
65 | end | 62 | end |
66 | 63 | ||
64 | ok, err, errcode = deps.fulfill_dependencies(rockspec) | ||
65 | if err then return nil, err, errcode end | ||
66 | |||
67 | ok, err = rep.deploy_files(name, version) | 67 | ok, err = rep.deploy_files(name, version) |
68 | if err then return nil, err end | 68 | if err then return nil, err end |
69 | 69 | ||