diff options
-rwxr-xr-x | Master/texmf-dist/scripts/ppower4/pdfthumb.tlu | 6 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/ppower4/ppower4.tlu | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu b/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu index eb72005c708..f5a5aef9114 100755 --- a/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu +++ b/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu @@ -20,11 +20,7 @@ function fixwin(args_unix) end end -if os.type == 'windows' then - kpse.set_program_name('pdfthumb.exe', 'pdfthumb') -else - kpse.set_program_name('pdfthumb') -end +kpse.set_program_name(arg[-1], 'pdfthumb') jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') diff --git a/Master/texmf-dist/scripts/ppower4/ppower4.tlu b/Master/texmf-dist/scripts/ppower4/ppower4.tlu index 650089ceb45..27c03b22849 100755 --- a/Master/texmf-dist/scripts/ppower4/ppower4.tlu +++ b/Master/texmf-dist/scripts/ppower4/ppower4.tlu @@ -20,11 +20,7 @@ function fixwin(args_unix) end end -if os.type == 'windows' then - kpse.set_program_name('ppower4.exe', 'ppower4') -else - kpse.set_program_name('ppower4') -end +kpse.set_program_name(arg[-1], 'ppower4') jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') |