diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2011-06-23 07:35:14 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2011-06-23 07:35:14 +0000 |
commit | 318e5b57db23e1c6e9abb03ded466bc5c71b8a4e (patch) | |
tree | 8c783a65fc1dcb2c0b6622f9e08380d29660cee7 /Master/bin/i386-kfreebsd | |
parent | 7abff6e04dec661174801a896dd9c9c459e11a79 (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/i386-kfreebsd')
-rwxr-xr-x | Master/bin/i386-kfreebsd/mtxrun | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/bin/i386-kfreebsd/mtxrun b/Master/bin/i386-kfreebsd/mtxrun index 8debdf95551..7adcd3023a8 100755 --- a/Master/bin/i386-kfreebsd/mtxrun +++ b/Master/bin/i386-kfreebsd/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 |