Skip to content

Commit

Permalink
Update l3build-setup.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaurens committed Jun 23, 2024
1 parent 0cf5d90 commit ff579eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions l3build-setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,13 @@ local execute = os.execute -- version 5.1 see https://tug.org/pipermail/luatex/2
---
---`texlua` 1.18 uses Lua 5.3 except for `os.execute` which is still 5.1.
---A wrapper will simplify migration to Lua 5.4, if ever.
---First print the argument when debugging.
---@param command string?
---@return integer
function M.execute51(command)
if options.debug then
print('l3build execute51: `'..command..'`')
end
---@diagnostic disable-next-line: return-type-mismatch
return execute(command)
end
Expand Down

0 comments on commit ff579eb

Please sign in to comment.