diff options
Diffstat (limited to 'src/luarocks/install.lua')
-rw-r--r-- | src/luarocks/install.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index e99b4ce0..c42542c9 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
@@ -65,7 +65,12 @@ function install_binary_rock(rock_file) | |||
65 | ok, err, errcode = deps.fulfill_dependencies(rockspec) | 65 | ok, err, errcode = deps.fulfill_dependencies(rockspec) |
66 | if err then return nil, err, errcode end | 66 | if err then return nil, err, errcode end |
67 | 67 | ||
68 | ok, err = rep.deploy_files(name, version) | 68 | local wrap_bin_scripts = true |
69 | if rockspec.deploy and rockspec.deploy.wrap_bin_scripts == false then | ||
70 | wrap_bin_scripts = false | ||
71 | end | ||
72 | |||
73 | ok, err = rep.deploy_files(name, version, rep.should_wrap_bin_scripts(rockspec)) | ||
69 | if err then return nil, err end | 74 | if err then return nil, err end |
70 | 75 | ||
71 | util.remove_scheduled_function(rollback) | 76 | util.remove_scheduled_function(rollback) |