summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2021-03-16 17:14:35 -0300
committerHisham Muhammad <hisham@gobolinux.org>2021-03-19 13:15:53 -0300
commit058643a9342c68ce38b5dd55a02564a001f807e2 (patch)
tree8bd04b612df627d0866303822d1d24dba374f12f /src
parent28723ac33ccc22d62877f893927a561b7fb1ecbf (diff)
downloadluarocks-058643a9342c68ce38b5dd55a02564a001f807e2.tar.gz
luarocks-058643a9342c68ce38b5dd55a02564a001f807e2.tar.bz2
luarocks-058643a9342c68ce38b5dd55a02564a001f807e2.zip
repos: fix renaming of versioned bin/ entry back to non-versioned
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/repos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/repos.lua b/src/luarocks/repos.lua
index af1daf9e..cf2ce14b 100644
--- a/src/luarocks/repos.lua
+++ b/src/luarocks/repos.lua
@@ -607,7 +607,7 @@ function repos.delete_version(name, version, deps_mode, quick)
607 local next_name, next_version = manif.get_next_provider("command", item_name) 607 local next_name, next_version = manif.get_next_provider("command", item_name)
608 if next_name then 608 if next_name then
609 add_to_double_checks(double_checks, next_name, next_version) 609 add_to_double_checks(double_checks, next_name, next_version)
610 local next_paths = get_deploy_paths(next_name, next_version, "lua", file_path, repo) 610 local next_paths = get_deploy_paths(next_name, next_version, "bin", file_path, repo)
611 table.insert(renames, { src = next_paths.v, dst = next_paths.nv, suffix = cfg.wrapper_suffix }) 611 table.insert(renames, { src = next_paths.v, dst = next_paths.nv, suffix = cfg.wrapper_suffix })
612 end 612 end
613 end 613 end