diff options
author | Norbert Preining <preining@logic.at> | 2017-03-14 02:22:58 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2017-03-14 02:22:58 +0000 |
commit | 9cb26f3d0d652229032965f48c2a15afe0d52371 (patch) | |
tree | ce4e0d11c4128ff3a70d44fd7e5348d4f77e2608 | |
parent | acfe917b450e8f2f7655fa2fab4b2e848a8f7934 (diff) |
fmtutil: allow overriding -progname in fmtutil.cnf
git-svn-id: svn://tug.org/texlive/trunk@43495 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil.pl | 10 |
1 files changed, 9 insertions, 1 deletions
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 |