diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-04 20:33:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-04 20:33:56 +0000 |
commit | 32a641f484bf4f20a262ad06facd5bd4d560a001 (patch) | |
tree | 0d81c01c3bfb10af143388e0c7c3e7ae3cf372c2 /Master/texmf-dist/scripts/l3build/l3build-stdmain.lua | |
parent | b66da2c166487b44cd87b9312387a726ab302969 (diff) |
l3build (4jan24)
git-svn-id: svn://tug.org/texlive/trunk@69300 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-stdmain.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-stdmain.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua b/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua index 6209dcd2962..d264a78fa48 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua @@ -1,6 +1,6 @@ --[[ -File l3build-stdmain.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-stdmain.lua Copyright (C) 2018-2024 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -122,12 +122,12 @@ target_list = desc = "Updates release tags in files", func = tag, pre = function(names) - if names and #names > 1 then - print("Too many tags specified; exactly one required") - exit(1) - end - return 0 - end + if names and #names > 1 then + print("Too many tags specified; exactly one required") + exit(1) + end + return 0 + end }, uninstall = { @@ -171,10 +171,10 @@ function main(target,names) end else if target_list[target].pre then - errorlevel = target_list[target].pre(names) - if errorlevel ~= 0 then - exit(1) - end + errorlevel = target_list[target].pre(names) + if errorlevel ~= 0 then + exit(1) + end end errorlevel = target_list[target].func(names) end |