lualoader: correct a typo from r354247
r354247 converted try_include to lfs + dofile with the loader.lua_path added just before. Fortunately, there was a hardcoded /boot/lua fallback in case loader.lua_path wasn't being set yet- I typo'd it as loader.lua_paths. Fix the typo. X-MFC-With: r354247 MFC after: 3 days
This commit is contained in:
parent
056c436fde
commit
47887527c0
@ -70,7 +70,7 @@ end
|
||||
-- message on failure.
|
||||
function try_include(module)
|
||||
if module:sub(1, 1) ~= "/" then
|
||||
local lua_path = loader.lua_paths
|
||||
local lua_path = loader.lua_path
|
||||
-- XXX Temporary compat shim; this should be removed once the
|
||||
-- loader.lua_path export has sufficiently spread.
|
||||
if lua_path == nil then
|
||||
|
Loading…
Reference in New Issue
Block a user