From 319224cb48de98b345f30698f1c93054a494735d Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 5 Sep 2019 12:22:55 -0300 Subject: fix local search of manifests Since #1065 it was failing to find the unversioned `manifest` files inside `/lib/luarocks/rocks-5.x/`. The result was that `luarocks install foo` worked but then `luarocks show foo` didn't. --- src/luarocks/search.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luarocks/search.lua b/src/luarocks/search.lua index 46c47309..9b13b7cc 100644 --- a/src/luarocks/search.lua +++ b/src/luarocks/search.lua @@ -108,7 +108,7 @@ local function manifest_search(result_tree, repo, query, lua_version, is_local) repo = repo .. "/manifests/" .. query.namespace end - local manifest, err, errcode = manif.load_manifest(repo, lua_version, true) + local manifest, err, errcode = manif.load_manifest(repo, lua_version, not is_local) if not manifest then return nil, err, errcode end -- cgit v1.2.3-55-g6feb