summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/ppower4/ppower4.tlu
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/ppower4/ppower4.tlu')
-rwxr-xr-xMaster/texmf-dist/scripts/ppower4/ppower4.tlu6
1 files changed, 5 insertions, 1 deletions
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')