[latex3-commits] [latex3/l3build] main: Normalise more luaotfload paths (fixes #301) (4c25588)

github at latex-project.org github at latex-project.org
Sun Jul 16 22:06:10 CEST 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/4c25588583b8957e51a74fb088c58448c09410be

>---------------------------------------------------------------

commit 4c25588583b8957e51a74fb088c58448c09410be
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jul 16 21:06:10 2023 +0100

    Normalise more luaotfload paths (fixes #301)


>---------------------------------------------------------------

4c25588583b8957e51a74fb088c58448c09410be
 CHANGELOG.md      | 1 +
 l3build-check.lua | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 90c1ced..7999008 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ this project uses date-based 'snapshot' version identifiers.
 - Quote configuration name used in stdout
 - Update one leftover outdated doc for `unpackexe`: defaults to `pdftex`
 - Building pLaTeX format now uses e-upTeX engine
+- Normalize more `luaotfload` path data (see issue #301)
 
 ## [2023-03-27]
 
diff --git a/l3build-check.lua b/l3build-check.lua
index d7430b2..b1c33c6 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -152,6 +152,9 @@ local function normalize_log(content,engine,errlevels)
     -- luaotfload files start with keywords
     line = gsub(line, "from " .. pattern .. "$", "from ../%1")
     line = gsub(line, ": " .. pattern .. "%)", ": ../%1)")
+    -- More luaotfload
+    line = gsub(line, "database loaded from " .. pattern .. "%)",
+      "database loaded from ../%1)")
     -- Deal with XeTeX specials
     if match(line, "^%.+\\XeTeX.?.?.?file") then
       line = gsub(line, pattern, "../%1")





More information about the latex3-commits mailing list.