diff options
Diffstat (limited to 'Build/source/texk/web2c/pmpostdir/pmpost.ch')
-rw-r--r-- | Build/source/texk/web2c/pmpostdir/pmpost.ch | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/pmpostdir/pmpost.ch b/Build/source/texk/web2c/pmpostdir/pmpost.ch index 9e1bb4d43a4..a7add6f26fe 100644 --- a/Build/source/texk/web2c/pmpostdir/pmpost.ch +++ b/Build/source/texk/web2c/pmpostdir/pmpost.ch @@ -244,6 +244,12 @@ else @z @x + if (FILESTRCASEEQ(base, "rmpost")){ +@y + if (FILESTRCASEEQ(base, "r" P_UP "mpost")){ +@z + +@x if (FILESTRCASEEQ(base, "dvitomp")) @y if (FILESTRCASEEQ(base, P_UP "dvitomp")) @@ -270,13 +276,12 @@ else if (dvitomp_only) { @<Read and set dvitomp command line options@>; } else { -#ifdef WIN32 - options->mem_name = - strlwr(kpse_program_basename(argv[0])); -#else - options->mem_name = - kpse_program_basename(argv[0]); -#endif +@z + +@x + if (FILESTRCASEEQ(kpse_program_name, "rmpost")) +@y + if (FILESTRCASEEQ(kpse_program_name, "r" P_UP "mpost")) @z @x |