summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-03-14 02:22:58 +0000
committerNorbert Preining <preining@logic.at>2017-03-14 02:22:58 +0000
commit9cb26f3d0d652229032965f48c2a15afe0d52371 (patch)
treece4e0d11c4128ff3a70d44fd7e5348d4f77e2608 /Master/texmf-dist
parentacfe917b450e8f2f7655fa2fab4b2e848a8f7934 (diff)
fmtutil: allow overriding -progname in fmtutil.cnf
git-svn-id: svn://tug.org/texlive/trunk@43495 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/fmtutil.pl10
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