diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-31 07:36:51 -0800 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-31 07:36:51 -0800 |
commit | 2219ac8b2c1d9438f80db8f12f334b9e4239b60a (patch) | |
tree | cc66250a278f5830472694fb40a07ac614e2c1ce | |
parent | 735f794629ca8da96ba09a2d7ed789169bec9cf3 (diff) | |
parent | 73850dededda0e77d4a1df8af3f464e4a1c1d309 (diff) | |
download | luarocks-2219ac8b2c1d9438f80db8f12f334b9e4239b60a.tar.gz luarocks-2219ac8b2c1d9438f80db8f12f334b9e4239b60a.tar.bz2 luarocks-2219ac8b2c1d9438f80db8f12f334b9e4239b60a.zip |
Merge pull request #230 from fperrad/patch-1
remove dead local variable wrap_bin_scripts
-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 | ||