summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-06-18 17:11:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-06-18 17:11:00 +0200
commit8e7470a95cf04f73e299d015debd9ed3056720d2 (patch)
tree0ae56b934d93d12422538cc33bcfae2844523aa8 /scripts
parentf712dde54a60aa5517c33bcd6ce2cf19c576383f (diff)
downloadcontext-8e7470a95cf04f73e299d015debd9ed3056720d2.tar.gz
beta 2012.06.18 17:11
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtxrun.lua4
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua4
-rwxr-xr-xscripts/context/stubs/unix/mtxrun4
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