summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build-check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-check.lua')
-rw-r--r--macros/latex/contrib/l3build/l3build-check.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua
index b1c33c6d56..3f1f5d5542 100644
--- a/macros/latex/contrib/l3build/l3build-check.lua
+++ b/macros/latex/contrib/l3build/l3build-check.lua
@@ -48,6 +48,9 @@ local exit = os.exit
local execute = os.execute
local remove = os.remove
+-- randomise the random numbers
+math.randomseed( os.time() )
+
--
-- Auxiliary functions which are used by more than one main function
--
@@ -155,6 +158,8 @@ local function normalize_log(content,engine,errlevels)
-- More luaotfload
line = gsub(line, "database loaded from " .. pattern .. "%)",
"database loaded from ../%1)")
+ line = gsub(line, 'Root cache directory is "' .. pattern .. '"',
+ 'Root cache directory is ".../%1"')
-- Deal with XeTeX specials
if match(line, "^%.+\\XeTeX.?.?.?file") then
line = gsub(line, pattern, "../%1")