From d1a36bc2e7d543698c79a0477a7b46bc87f78042 Mon Sep 17 00:00:00 2001 From: Reinhard Kotucha Date: Sun, 1 Nov 2009 18:08:08 +0000 Subject: ppower4.tlu,pdfthumb.tlu: kpse fixed as proposed by Manuel. git-svn-id: svn://tug.org/texlive/trunk@15926 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/ppower4/pdfthumb.tlu | 6 +----- Master/texmf-dist/scripts/ppower4/ppower4.tlu | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/scripts') 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') -- cgit v1.2.3