From bee0d2fefd913952b342b909a4a278ce72712e51 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sun, 6 Jan 2019 20:53:35 +0000 Subject: add missing changes to have correct engine name git-svn-id: svn://tug.org/texlive/trunk@49616 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pmpostdir/pmpost.ch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/web2c/pmpostdir') diff --git a/Build/source/texk/web2c/pmpostdir/pmpost.ch b/Build/source/texk/web2c/pmpostdir/pmpost.ch index c679be58908..a58918998b9 100644 --- a/Build/source/texk/web2c/pmpostdir/pmpost.ch +++ b/Build/source/texk/web2c/pmpostdir/pmpost.ch @@ -244,11 +244,17 @@ else @z @x - if (FILESTRCASEEQ(base, "rmpost")||FILESTRCASEEQ(base, "r-mpost")){ + if (FILESTRCASEEQ(base, "rmpost")){ @y if (FILESTRCASEEQ(base, "r"@= @>P_UP@= @>"mpost")){ @z +@x + } else if (FILESTRCASEEQ(base, "r-mpost")){ +@y + } else if (FILESTRCASEEQ(base, "r-"@= @>P_UP@= @>"mpost")){ +@z + @x if (FILESTRCASEEQ(base, "dvitomp")) @y @@ -279,11 +285,17 @@ else @z @x - if (FILESTRCASEEQ(kpse_program_name, "rmpost")||FILESTRCASEEQ(kpse_program_name, "r-mpost")) + if (FILESTRCASEEQ(kpse_program_name, "rmpost")) @y if (FILESTRCASEEQ(kpse_program_name, "r"@= @>P_UP@= @>"mpost")) @z +@x + else if (FILESTRCASEEQ(kpse_program_name, "r-mpost")) +@y + else if (FILESTRCASEEQ(kpse_program_name, "r-"@= @>P_UP@= @>"mpost")) +@z + @x if(putenv(xstrdup("engine=metapost"))) @y -- cgit v1.2.3