summaryrefslogtreecommitdiff
path: root/Master/bin/powerpc-linux/mtxrun
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/bin/powerpc-linux/mtxrun
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/bin/powerpc-linux/mtxrun')
-rwxr-xr-xMaster/bin/powerpc-linux/mtxrun5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/bin/powerpc-linux/mtxrun b/Master/bin/powerpc-linux/mtxrun
index 8debdf95551..7adcd3023a8 100755
--- a/Master/bin/powerpc-linux/mtxrun
+++ b/Master/bin/powerpc-linux/mtxrun
@@ -12150,7 +12150,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