From b92f5aa9869b5e0a9abf0e6b9cc9c65d301414fb Mon Sep 17 00:00:00 2001 From: hisham Date: Fri, 6 Nov 2009 19:58:19 +0000 Subject: fix deploy check of binaries git-svn-id: http://luarocks.org/svn/luarocks/trunk@119 9ca3f7c1-7366-0410-b1a3-b5c78f85698c --- src/luarocks/manif.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luarocks/manif.lua b/src/luarocks/manif.lua index f1810d67..9f6f6fa2 100644 --- a/src/luarocks/manif.lua +++ b/src/luarocks/manif.lua @@ -321,7 +321,7 @@ local function find_providers(file, root) if starts_with(file, deploy_bin) then manifest_tbl = manifest.commands - key = file:sub(#deploy_bin+1) + key = file:sub(#deploy_bin+1):gsub("^/*", "") elseif starts_with(file, deploy_lua) then manifest_tbl = manifest.modules key = path.path_to_module(file:sub(#deploy_lua+1)) -- cgit v1.2.3-55-g6feb