From 4e453e131392fd527588607a8379ea4a8024bb93 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 5 Mar 2023 21:09:54 +0000 Subject: luametatex --version fails on Windows when we run it (https://tug.org/pipermail/tex-live/2023-March/048897.html) git-svn-id: svn://tug.org/texlive/trunk@66378 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 2 +- Master/texmf-dist/scripts/texlive/tlmgr.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Master') diff --git a/Master/install-tl b/Master/install-tl index ee8042595f7..6734f9fdd13 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -1358,7 +1358,7 @@ operations might be disturbed.\n\n"; 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"); diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index bf7f498b6da..2c93efd6a63 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -896,7 +896,7 @@ sub handle_execute_actions { 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"); -- cgit v1.2.3