From d6bd87658e864fb47b95c30dba1e472505c26740 Mon Sep 17 00:00:00 2001 From: Reinhard Kotucha Date: Sun, 1 Nov 2009 01:29:52 +0000 Subject: ppower4/pdfthumb: fixed severe bugs. git-svn-id: svn://tug.org/texlive/trunk@15920 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/ppower4/pdfthumb.tlu | 7 +++++-- Master/texmf-dist/scripts/ppower4/ppower4.tlu | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu b/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu index 63d814ce50d..eb72005c708 100755 --- a/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu +++ b/Master/texmf-dist/scripts/ppower4/pdfthumb.tlu @@ -20,7 +20,11 @@ function fixwin(args_unix) end end -kpse.set_program_name('pdfthumb.bat', 'pdfthumb') +if os.type == 'windows' then + kpse.set_program_name('pdfthumb.exe', 'pdfthumb') +else + kpse.set_program_name('pdfthumb') +end jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') @@ -41,4 +45,3 @@ os.exit(ret) ret=os.spawn(command) os.exit(ret) -ft \ No newline at end of file diff --git a/Master/texmf-dist/scripts/ppower4/ppower4.tlu b/Master/texmf-dist/scripts/ppower4/ppower4.tlu index 9d148ec040b..650089ceb45 100755 --- a/Master/texmf-dist/scripts/ppower4/ppower4.tlu +++ b/Master/texmf-dist/scripts/ppower4/ppower4.tlu @@ -20,7 +20,11 @@ function fixwin(args_unix) end end -kpse.set_program_name('ppower4.bat', 'ppower4') +if os.type == 'windows' then + kpse.set_program_name('ppower4.exe', 'ppower4') +else + kpse.set_program_name('ppower4') +end jarfile=kpse.find_file('pp4p.jar', 'texmfscripts') -- cgit v1.2.3