From 318e5b57db23e1c6e9abb03ded466bc5c71b8a4e Mon Sep 17 00:00:00 2001 From: Taco Hoekwater Date: Thu, 23 Jun 2011 07:35:14 +0000 Subject: yet another mtxrun fix for runtime files git-svn-id: svn://tug.org/texlive/trunk@23104 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/powerpc-linux/mtxrun | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Master/bin/powerpc-linux/mtxrun') 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 -- cgit v1.2.3