diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2014-02-03 09:59:45 -0200 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-02-03 09:59:45 -0200 |
| commit | 343fbd52f2c165035aeb28b955e57ba4187b9ae7 (patch) | |
| tree | 1e930c81484313f421f3558d42babd106aecd697 | |
| parent | a3b0f72ddedf1c7d6586632e8af416ea20854cf8 (diff) | |
| parent | 2219ac8b2c1d9438f80db8f12f334b9e4239b60a (diff) | |
| download | luarocks-343fbd52f2c165035aeb28b955e57ba4187b9ae7.tar.gz luarocks-343fbd52f2c165035aeb28b955e57ba4187b9ae7.tar.bz2 luarocks-343fbd52f2c165035aeb28b955e57ba4187b9ae7.zip | |
Merge branch 'master' of github.com:keplerproject/luarocks
| -rw-r--r-- | src/luarocks/install.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index 7458ec8e..68b7c125 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | |||
| 2 | --- Module implementing the LuaRocks "install" command. | 1 | --- Module implementing the LuaRocks "install" command. |
| 3 | -- Installs binary rocks. | 2 | -- Installs binary rocks. |
| 4 | module("luarocks.install", package.seeall) | 3 | module("luarocks.install", package.seeall) |
| @@ -81,11 +80,6 @@ function install_binary_rock(rock_file, deps_mode) | |||
| 81 | if err then return nil, err, errcode end | 80 | if err then return nil, err, errcode end |
| 82 | end | 81 | end |
| 83 | 82 | ||
| 84 | local wrap_bin_scripts = true | ||
| 85 | if rockspec.deploy and rockspec.deploy.wrap_bin_scripts == false then | ||
| 86 | wrap_bin_scripts = false | ||
| 87 | end | ||
| 88 | |||
| 89 | ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) | 83 | ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) |
| 90 | if err then return nil, err end | 84 | if err then return nil, err end |
| 91 | 85 | ||
