From dc52ff76136d23e0f97ce8f6abc98d399851c9d2 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 18 May 2022 00:07:31 -0300 Subject: fix error message when Lua library is not found --- src/luarocks/deps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 0ea105f9..2e98261e 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua @@ -753,7 +753,7 @@ function deps.check_lua_libdir(vars) ok = txt:match("Lua " .. cfg.lua_version, 1, true) or txt:match("lua" .. (cfg.lua_version:gsub("%.", "")), 1, true) if not ok then - err = "Lua library at " .. filename .. " does not match Lua version " .. cfg.lua_version .. ". You may want to override this by configuring LUA_INCDIR." + err = "Lua library at " .. filename .. " does not match Lua version " .. cfg.lua_version .. ". You may want to override this by configuring LUA_LIBDIR." end end -- cgit v1.2.3-55-g6feb