[latex3-commits] [git/LaTeX3-latex3-l3build] master: Minor clarification (2eae840)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 3 09:09:04 CEST 2018


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

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

commit 2eae840e4a4bda397fbca150e0d4df9045fadb69
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 3 08:09:04 2018 +0100

    Minor clarification


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

2eae840e4a4bda397fbca150e0d4df9045fadb69
 l3build-check.lua |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 7cac25a..919559c 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -613,7 +613,6 @@ function setup_check(name, engine)
 end
 
 function compare_pdf(name,engine,cleanup)
-  local errorlevel
   local testname = name .. "." .. engine
   local difffile = testdir .. "/" .. name .. pdfext .. os_diffext
   local pdffile  = testdir .. "/" .. testname .. pdfext
@@ -621,7 +620,7 @@ function compare_pdf(name,engine,cleanup)
   if not tpffile then
     return 1
   end
-  errorlevel = execute(os_diffexe .. " "
+  local errorlevel = execute(os_diffexe .. " "
     .. normalize_path(tpffile .. " " .. pdffile .. " > " .. difffile))
   if errorlevel == 0 or cleanup then
     remove(difffile)





More information about the latex3-commits mailing list