From a2784867f6629ca24913eba779df125f588d90ac Mon Sep 17 00:00:00 2001 From: hisham Date: Wed, 21 Oct 2009 12:49:48 +0000 Subject: fix compatibility with LR1 packages. Bug reported by Graham Wakefield. git-svn-id: http://luarocks.org/svn/luarocks/trunk@104 9ca3f7c1-7366-0410-b1a3-b5c78f85698c --- src/luarocks/install.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) ok, err, errcode = deps.check_external_deps(rockspec, "install") if err then return nil, err, errcode end - ok, err, errcode = deps.fulfill_dependencies(rockspec) - if err then return nil, err, errcode end - -- For compatibility with .rock files built with LuaRocks 1 if not fs.exists(path.rock_manifest_file(name, version)) then ok, err = manif.make_rock_manifest(name, version) if err then return nil, err end end + ok, err, errcode = deps.fulfill_dependencies(rockspec) + if err then return nil, err, errcode end + ok, err = rep.deploy_files(name, version) if err then return nil, err end -- cgit v1.2.3-55-g6feb