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/texmf-dist | |
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/texmf-dist')
4 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/context/lua/mtxrun.lua b/Master/texmf-dist/scripts/context/lua/mtxrun.lua index 8debdf95551..7adcd3023a8 100755 --- a/Master/texmf-dist/scripts/context/lua/mtxrun.lua +++ b/Master/texmf-dist/scripts/context/lua/mtxrun.lua @@ -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 diff --git a/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua b/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua index 8debdf95551..7adcd3023a8 100755 --- a/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua +++ b/Master/texmf-dist/scripts/context/stubs/mswin/mtxrun.lua @@ -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 diff --git a/Master/texmf-dist/scripts/context/stubs/unix/mtxrun b/Master/texmf-dist/scripts/context/stubs/unix/mtxrun index 8debdf95551..7adcd3023a8 100755 --- a/Master/texmf-dist/scripts/context/stubs/unix/mtxrun +++ b/Master/texmf-dist/scripts/context/stubs/unix/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 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 |