[latex3-commits] [git/LaTeX3-latex3-l3build] master: e7n solved by master (41b8e86)
LAURENS Jérôme
jerome.laurens at u-bourgogne.fr
Sun Feb 21 19:24:38 CET 2021
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/41b8e86b6e13feaab664eaf7687019188301ef78
>---------------------------------------------------------------
commit 41b8e86b6e13feaab664eaf7687019188301ef78
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date: Sun Feb 21 19:24:38 2021 +0100
e7n solved by master
>---------------------------------------------------------------
41b8e86b6e13feaab664eaf7687019188301ef78
l3build-check.lua | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/l3build-check.lua b/l3build-check.lua
index 1302df7..1094198 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -806,18 +806,12 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
-- Store secondary files for this engine
for _,filetype in pairs(auxfiles) do
for _,file in pairs(filelist(testdir, filetype)) do
- if match(file,"^" .. name .. ".[^.]+$") then
- local e7n = match(file, "%.[^.]+$")
- if e7n ~= lvtext and
- e7n ~= tlgext and
- e7n ~= lveext and
- e7n ~= logext then
- local newname = gsub(file,"(%.[^.]+)$","." .. engine .. "%1")
- if fileexists(testdir .. "/" .. newname) then
- rm(testdir,newname)
- end
- ren(testdir,file,newname)
+ if match(file,"^" .. name .. "%.[^.]+$") then
+ local newname = gsub(file,"(%.[^.]+)$","." .. engine .. "%1")
+ if fileexists(testdir .. "/" .. newname) then
+ rmfile(testdir,newname)
end
+ ren(testdir,file,newname)
end
end
end
More information about the latex3-commits
mailing list.