summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
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