aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c>2009-11-06 19:58:19 +0000
committerhisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c>2009-11-06 19:58:19 +0000
commitb92f5aa9869b5e0a9abf0e6b9cc9c65d301414fb (patch)
tree7bad89b548f7535e7b1baeb0df1d9b62d90a598d /src
parent069395a90d667e1a93b0bd25b490a9fc1986be41 (diff)
downloadluarocks-b92f5aa9869b5e0a9abf0e6b9cc9c65d301414fb.tar.gz
luarocks-b92f5aa9869b5e0a9abf0e6b9cc9c65d301414fb.tar.bz2
luarocks-b92f5aa9869b5e0a9abf0e6b9cc9c65d301414fb.zip
fix deploy check of binaries
git-svn-id: http://luarocks.org/svn/luarocks/trunk@119 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/manif.lua2
1 files changed, 1 insertions, 1 deletions
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)
321 321
322 if starts_with(file, deploy_bin) then 322 if starts_with(file, deploy_bin) then
323 manifest_tbl = manifest.commands 323 manifest_tbl = manifest.commands
324 key = file:sub(#deploy_bin+1) 324 key = file:sub(#deploy_bin+1):gsub("^/*", "")
325 elseif starts_with(file, deploy_lua) then 325 elseif starts_with(file, deploy_lua) then
326 manifest_tbl = manifest.modules 326 manifest_tbl = manifest.modules
327 key = path.path_to_module(file:sub(#deploy_lua+1)) 327 key = path.path_to_module(file:sub(#deploy_lua+1))