Changeset

10203:3beb37ed7f32

util.startup: Changed the way util.paths.complement_lua_path was being accessed
author João Duarte <jvsDuarte08@gmail.com>
date Fri, 16 Aug 2019 09:26:36 -0700
parents 10202:d3764eed7ded
children 10204:fbd4a5bc3a01
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/startup.lua	Fri Aug 16 08:38:29 2019 -0700
+++ b/util/startup.lua	Fri Aug 16 09:26:36 2019 -0700
@@ -231,7 +231,7 @@
 	local path_sep = package.config:sub(3,3);
 	installer_plugin_path = config.resolve_relative_path(require "lfs".currentdir(), installer_plugin_path);
 	require "lfs".mkdir(installer_plugin_path);
-	config.complement_lua_path(installer_plugin_path);
+	require"util.paths".complement_lua_path(installer_plugin_path);
 	if custom_plugin_paths then
 		-- path1;path2;path3;defaultpath...
 		-- luacheck: ignore 111