[latex3-commits] [git/LaTeX3-latex3-l3build] master: Cut out some repetition (938bb99)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 3 21:36:42 CEST 2018


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

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

commit 938bb99a7190c8b9a4d9246b96321d430ee93530
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 3 20:36:42 2018 +0100

    Cut out some repetition


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

938bb99a7190c8b9a4d9246b96321d430ee93530
 l3build-check.lua |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index b7d7a5a..60629f5 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -706,10 +706,11 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
       exit(1)
     end
   end
-  local logfile = testdir .. "/" .. name .. logext
-  local newfile = testdir .. "/" .. name .. "." .. engine .. logext
-  local pdffile = testdir .. "/" .. name .. pdfext
-  local npffile = testdir .. "/" .. name .. "." .. engine .. pdfext
+  local basename = testdir .. "/" .. name
+  local logfile = basename .. logext
+  local newfile = basename .. "." .. engine .. logext
+  local pdffile = basename .. pdfext
+  local npffile = basename .. "." .. engine .. pdfext
   local asciiopt = ""
   for _,i in ipairs(asciiengines) do
     if realengine == i then





More information about the latex3-commits mailing list