[latex3-commits] [git/LaTeX3-latex3-l3build] master: Bug fix: wrong fileexists arguments (e3cfa46)

LAURENS Jérôme jerome.laurens at u-bourgogne.fr
Sun Feb 21 12:28:56 CET 2021


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/e3cfa46999ce98a8923b4cb67233d8fa941e9c2f

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

commit e3cfa46999ce98a8923b4cb67233d8fa941e9c2f
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date:   Sun Feb 21 12:28:56 2021 +0100

    Bug fix: wrong fileexists arguments


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

e3cfa46999ce98a8923b4cb67233d8fa941e9c2f
 l3build-check.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index f7782af..08be469 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -813,7 +813,7 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
            e7n ~= lveext and
            e7n ~= logext then
            local newname = gsub(file,"(%.[^.]+)$","." .. engine .. "%1")
-           if fileexists(testdir,newname) then
+           if fileexists(testdir .. "/" .. newname) then
              rm(testdir,newname)
            end
            ren(testdir,file,newname)





More information about the latex3-commits mailing list.