From 73850dededda0e77d4a1df8af3f464e4a1c1d309 Mon Sep 17 00:00:00 2001 From: François Perrad Date: Fri, 31 Jan 2014 16:16:53 +0100 Subject: remove dead local variable wrap_bin_scripts now, the job is done by a call to repos.should_wrap_bin_scripts() --- src/luarocks/install.lua | 6 ------ 1 file changed, 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 @@ - --- Module implementing the LuaRocks "install" command. -- Installs binary rocks. module("luarocks.install", package.seeall) @@ -81,11 +80,6 @@ function install_binary_rock(rock_file, deps_mode) if err then return nil, err, errcode end end - local wrap_bin_scripts = true - if rockspec.deploy and rockspec.deploy.wrap_bin_scripts == false then - wrap_bin_scripts = false - end - ok, err = repos.deploy_files(name, version, repos.should_wrap_bin_scripts(rockspec)) if err then return nil, err end -- cgit v1.2.3-55-g6feb