Skip to content

Commit

Permalink
A couple of minor optimisations
Browse files Browse the repository at this point in the history
See #353
  • Loading branch information
josephwright committed May 3, 2024
1 parent c1e5c4f commit 9273b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l3build-aux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function runcmd(cmd,dir,vars)
vars = vars or {}
-- Allow for local texmf files
local env = ""
if not match(checkformat,"^context$") then
if checkformat ~= "context" then
env = os_setenv .. " TEXMFCNF=." .. os_pathsep .. os_concat
end
local envpaths = "." .. localtexmf() .. os_pathsep
Expand Down
2 changes: 1 addition & 1 deletion l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9273b44

Please sign in to comment.