diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 4 | ||||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 4 | ||||
-rwxr-xr-x | scripts/context/stubs/unix/mtxrun | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index 12ee56f74..031d91a85 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -12936,8 +12936,8 @@ function resolvers.resetextrapath() end function resolvers.registerextrapath(paths,subpaths) - paths = paths and settings_to_array(paths) - subpaths = subpaths and settings_to_array(subpaths) + paths = settings_to_array(paths) + subpaths = settings_to_array(subpaths) local ep = instance.extra_paths or { } local oldn = #ep local newn = oldn diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index 12ee56f74..031d91a85 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/mtxrun.lua @@ -12936,8 +12936,8 @@ function resolvers.resetextrapath() end function resolvers.registerextrapath(paths,subpaths) - paths = paths and settings_to_array(paths) - subpaths = subpaths and settings_to_array(subpaths) + paths = settings_to_array(paths) + subpaths = settings_to_array(subpaths) local ep = instance.extra_paths or { } local oldn = #ep local newn = oldn diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun index 12ee56f74..031d91a85 100755 --- a/scripts/context/stubs/unix/mtxrun +++ b/scripts/context/stubs/unix/mtxrun @@ -12936,8 +12936,8 @@ function resolvers.resetextrapath() end function resolvers.registerextrapath(paths,subpaths) - paths = paths and settings_to_array(paths) - subpaths = subpaths and settings_to_array(subpaths) + paths = settings_to_array(paths) + subpaths = settings_to_array(subpaths) local ep = instance.extra_paths or { } local oldn = #ep local newn = oldn |