diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-30 20:59:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-30 20:59:58 +0000 |
commit | 5e541c41c7d9b017d0dfebb337f79da3a69e5251 (patch) | |
tree | bd69c8939d2ad830c60f3e565c23acf9d9696c37 /Master/texmf-dist/scripts/l3build/l3build-check.lua | |
parent | 4f9282799e6b77aab5da00b68ede2cc9a7ae33e1 (diff) |
l3build (30jul19)
git-svn-id: svn://tug.org/texlive/trunk@51777 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-check.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-check.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-check.lua b/Master/texmf-dist/scripts/l3build/l3build-check.lua index 9fcf9885717..6cd9ac1b324 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-check.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-check.lua @@ -772,7 +772,10 @@ function runtest(name, engine, hide, ext, pdfmode, breakout) ext ~= tlgext and ext ~= lveext and ext ~= logext then - ren(testdir, file, gsub(file, "(%.[^.]+)$", "." .. engine .. "%1")) + local newname = gsub(file,"(%.[^.]+)$","." .. engine .. "%1") + if not fileexists(testdir,newname) then + ren(testdir,file,newname) + end end end end |