From 9cb26f3d0d652229032965f48c2a15afe0d52371 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 14 Mar 2017 02:22:58 +0000 Subject: fmtutil: allow overriding -progname in fmtutil.cnf git-svn-id: svn://tug.org/texlive/trunk@43495 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/fmtutil.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Master') diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index 3a563cddb06..3d3301c3901 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -568,7 +568,15 @@ sub rebuild_one_format { # all activated formats are also buildable, thus return failure. return $FMT_FAILURE; } - + + # + # If the 4th field in fmtutil.cnf contains + # -progname=... + # then we do not add our own progname! + if ($addargs =~ /-progname=/) { + $prgswitch = ''; + } + # NLS support # Example (for fmtutil.cnf): # mex-pl tex mexconf.tex nls=tex-pl,il2-pl mex.ini -- cgit v1.2.3