summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2011-06-23 07:35:14 +0000
committerTaco Hoekwater <taco@elvenkind.com>2011-06-23 07:35:14 +0000
commit318e5b57db23e1c6e9abb03ded466bc5c71b8a4e (patch)
tree8c783a65fc1dcb2c0b6622f9e08380d29660cee7 /Master/texmf-dist/tex
parent7abff6e04dec661174801a896dd9c9c459e11a79 (diff)
yet another mtxrun fix for runtime files
git-svn-id: svn://tug.org/texlive/trunk@23104 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/context/base/data-res.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/data-res.lua b/Master/texmf-dist/tex/context/base/data-res.lua
index 3422564139c..d28a8a69767 100644
--- a/Master/texmf-dist/tex/context/base/data-res.lua
+++ b/Master/texmf-dist/tex/context/base/data-res.lua
@@ -1066,7 +1066,10 @@ local function collect_instance_files(filename,askedformat,allresults) -- todo :
if doscan then files = resolvers.scanfiles(ppname) end
for k=1,#wantedfiles do
local w = wantedfiles[k]
- local subpath = files[w] or ''
+ local subpath = ''
+ if files[w] then
+ subpath = type(files[w]) == "table" and files[w][1] or files[w]
+ end
local fname = filejoin(ppname,subpath,w)
if isreadable(fname) then
if trace_detail then