aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-05-18 00:07:31 -0300
committerHisham Muhammad <hisham@gobolinux.org>2022-05-18 00:25:22 -0300
commitdc52ff76136d23e0f97ce8f6abc98d399851c9d2 (patch)
treea6f4a15178d251be5b06b9b7c657143c99958dc1
parent6f9d42bd4e08e0d567ce41d127848fd46c63787e (diff)
downloadluarocks-dc52ff76136d23e0f97ce8f6abc98d399851c9d2.tar.gz
luarocks-dc52ff76136d23e0f97ce8f6abc98d399851c9d2.tar.bz2
luarocks-dc52ff76136d23e0f97ce8f6abc98d399851c9d2.zip
fix error message when Lua library is not found
-rw-r--r--src/luarocks/deps.lua2
1 files changed, 1 insertions, 1 deletions
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)
753 ok = txt:match("Lua " .. cfg.lua_version, 1, true) 753 ok = txt:match("Lua " .. cfg.lua_version, 1, true)
754 or txt:match("lua" .. (cfg.lua_version:gsub("%.", "")), 1, true) 754 or txt:match("lua" .. (cfg.lua_version:gsub("%.", "")), 1, true)
755 if not ok then 755 if not ok then
756 err = "Lua library at " .. filename .. " does not match Lua version " .. cfg.lua_version .. ". You may want to override this by configuring LUA_INCDIR." 756 err = "Lua library at " .. filename .. " does not match Lua version " .. cfg.lua_version .. ". You may want to override this by configuring LUA_LIBDIR."
757 end 757 end
758 end 758 end
759 759