[latex3-commits] [git/LaTeX3-latex3-l3build] regenerate: Adjust naming (b85b8dd)
Marcel Fabian Krüger
tex at 2krueger.de
Sat May 22 16:00:02 CEST 2021
Repository : https://github.com/latex3/l3build
On branch : regenerate
Link : https://github.com/latex3/l3build/commit/b85b8dd200b6905ab42dd650c231119f66a8f9f6
>---------------------------------------------------------------
commit b85b8dd200b6905ab42dd650c231119f66a8f9f6
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sat May 22 16:00:02 2021 +0200
Adjust naming
>---------------------------------------------------------------
b85b8dd200b6905ab42dd650c231119f66a8f9f6
l3build-check.lua | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/l3build-check.lua b/l3build-check.lua
index af8a9be..d17507e 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -983,27 +983,27 @@ end
-- A short auxiliary to print the list of differences for check
function showsavecommands(failurelist)
- local formatcmds = {}
+ local savecmds = {}
local prefix = " l3build save"
if options.config then
prefix = prefix .. " -c " .. options.config[1]
end
- for name, engines in next, failurelist do
+ for name, engines in pairs(failurelist) do
for i = 1, #engines do
local engine = engines[i]
- local formatcmd = formatcmds[engine]
- if not formatcmd then
+ local cmd = savecmds[engine]
+ if not cmd then
if engine == stdengine then
- formatcmd = prefix
+ cmd = prefix
else
- formatcmd = prefix .. " -e " .. engine
+ cmd = prefix .. " -e " .. engine
end
end
- formatcmds[engine] = formatcmd .. " " .. name
+ savecmds[engine] = cmd .. " " .. name
end
end
print("\n To regenerate the test files, run")
- for _, cmds in pairs(formatcmds) do
+ for _, cmds in pairs(savecmds) do
print(cmds)
end
print("")
More information about the latex3-commits
mailing list.