[latex3-commits] [git/LaTeX3-latex3-l3build] master: Simplify some logic (196a151)

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


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

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

commit 196a151b9bb494301b3339454ce33139d8775208
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 3 20:35:20 2018 +0100

    Simplify some logic


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

196a151b9bb494301b3339454ce33139d8775208
 l3build-check.lua |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 17efe35..b7d7a5a 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -665,13 +665,11 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
   local engine = engine or stdengine
   -- Set up the format file name if it's one ending "...tex"
   local realengine = engine
-  local format
+  local format = ""
   if
     match(checkformat, "tex$") and
     not match(engine, checkformat) then
     format = " -fmt=" .. gsub(engine, "(.*)tex$", "%1") .. checkformat
-  else
-    format = ""
   end
   -- Special casing for e-LaTeX format
   if





More information about the latex3-commits mailing list