texlive[66378] Master: luametatex --version fails on Windows when we

commits+karl at tug.org commits+karl at tug.org
Sun Mar 5 22:09:54 CET 2023


Revision: 66378
          http://tug.org/svn/texlive?view=revision&revision=66378
Author:   karl
Date:     2023-03-05 22:09:54 +0100 (Sun, 05 Mar 2023)
Log Message:
-----------
luametatex --version fails on Windows when we run it (https://tug.org/pipermail/tex-live/2023-March/048897.html)

Modified Paths:
--------------
    trunk/Master/install-tl
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2023-03-05 20:56:55 UTC (rev 66377)
+++ trunk/Master/install-tl	2023-03-05 21:09:54 UTC (rev 66378)
@@ -1358,7 +1358,7 @@
   my $lmtx = "$plat_bindir/luametatex$progext";
   if (exists($install{"context"}) && $install{"context"} == 1
       && !exists $ENV{"TEXLIVE_INSTALL_NO_CONTEXT_CACHE"}
-      && TeXLive::TLUtils::system_ok("$lmtx --version")
+      && (wndws() || TeXLive::TLUtils::system_ok("$lmtx --version"))
      ) {
     info("setting up ConTeXt cache: ");
     $errcount += run_postinst_cmd("mtxrun --generate");

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2023-03-05 20:56:55 UTC (rev 66377)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2023-03-05 21:09:54 UTC (rev 66378)
@@ -896,7 +896,7 @@
     my $lmtx = "$bindir/luametatex";
     if (defined($localtlpdb->get_package('context'))
         && (-x "$lmtx" || -x "$lmtx.exe")
-        && TeXLive::TLUtils::system_ok("$lmtx --version")
+        && (wndws() || TeXLive::TLUtils::system_ok("$lmtx --version"))
        ) {
       $errors += do_cmd_and_check("mtxrun --generate");
       $errors += do_cmd_and_check("context --luatex --generate");



More information about the tex-live-commits mailing list.