diff options
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-check.lua')
-rw-r--r-- | macros/latex/contrib/l3build/l3build-check.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua index 812187123a..d6d30e3e2a 100644 --- a/macros/latex/contrib/l3build/l3build-check.lua +++ b/macros/latex/contrib/l3build/l3build-check.lua @@ -778,7 +778,7 @@ function runtest(name, engine, hide, ext, test_type, breakout) local function setup(file) return " -jobname=" .. name .. tokens .. ' "\\input ' .. file .. '" ' end - if match(checkformat,"^context$") then + if checkformat == "context" then function setup(file) return tokens .. ' "' .. file .. '" ' end end if match(binary,"make4ht") then @@ -1119,7 +1119,12 @@ function save(names) return errorlevel end end - local engines = options["engine"] or {stdengine} + local engines + if options["engine"] then + engines = checkengines -- sanitized by check_engines() + else + engines = {stdengine} + end if names == nil then print("Arguments are required for the save command") return 1 |