aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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))