svn commit: r355349 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Tue Dec 3 18:44:20 UTC 2019


Author: kevans
Date: Tue Dec  3 18:44:19 2019
New Revision: 355349
URL: https://svnweb.freebsd.org/changeset/base/355349

Log:
  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

Modified:
  head/stand/lua/core.lua

Modified: head/stand/lua/core.lua
==============================================================================
--- head/stand/lua/core.lua	Tue Dec  3 18:38:51 2019	(r355348)
+++ head/stand/lua/core.lua	Tue Dec  3 18:44:19 2019	(r355349)
@@ -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


More information about the svn-src-head mailing list