lualoader: cli: clobber loader_conf_files before proceeding
This makes sure that config.readConfFiles doesn't see a stale loader_conf_files from before, in case the newly loaded file doesn't set it. MFC after: 3 days
This commit is contained in:
parent
e40d2a04ea
commit
cc0380718e
@ -127,6 +127,9 @@ end
|
||||
|
||||
cli['read-conf'] = function(...)
|
||||
local _, argv = cli.arguments(...)
|
||||
-- Don't trigger a reload of previously loaded loader_conf_files, in
|
||||
-- case this config file doesn't set it.
|
||||
loader.setenv("loader_conf_files", "")
|
||||
config.readConfFiles(assert(core.popFrontTable(argv)), {})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user