diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2009-11-01 01:29:52 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2009-11-01 01:29:52 +0000 |
commit | d6bd87658e864fb47b95c30dba1e472505c26740 (patch) | |
tree | 9542135a95b3f504c71e95529e60793103d8036e | |
parent | d34bb86295284f82a8800216885f5991f2329fd3 (diff) |
ppower4/pdfthumb: fixed severe bugs.
git-svn-id: svn://tug.org/texlive/trunk@15920 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf-dist/scripts/ppower4/pdfthumb.tlu | 7 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/ppower4/ppower4.tlu | 6 |
2 files changed, 10 insertions, 3 deletions
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') |