texlive[43495] Master/texmf-dist/scripts/texlive/fmtutil.pl: fmtutil:

commits+preining at tug.org commits+preining at tug.org
Tue Mar 14 03:22:59 CET 2017


Revision: 43495
          http://tug.org/svn/texlive?view=revision&revision=43495
Author:   preining
Date:     2017-03-14 03:22:58 +0100 (Tue, 14 Mar 2017)
Log Message:
-----------
fmtutil: allow overriding -progname in fmtutil.cnf

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl

Modified: trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl	2017-03-14 01:02:41 UTC (rev 43494)
+++ trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl	2017-03-14 02:22:58 UTC (rev 43495)
@@ -568,7 +568,15 @@
     # 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



More information about the tex-live-commits mailing list