summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-20 21:01:17 +0000
committerKarl Berry <karl@freefriends.org>2023-02-20 21:01:17 +0000
commit581ad0b74b17bcdc81b09c04368271bf453562bb (patch)
tree33ddde7f8a8c109a777ca3efa9bf2df72028adec /Build/source/texk
parentd64be73b8aea11c37d5fc24ef6db13de68a249a7 (diff)
l3build (20feb23)
git-svn-id: svn://tug.org/texlive/trunk@65983 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/texlive/linked_scripts/l3build/l3build.lua35
1 files changed, 18 insertions, 17 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua b/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
index 110d3947720..ff80523b174 100644
--- a/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
+++ b/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
@@ -25,7 +25,7 @@ for those people who are interested.
--]]
-- Version information
-release_date = "2023-02-16"
+release_date = "2023-02-20"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
@@ -205,22 +205,23 @@ if #checkconfigs > 1 then
end
end
if #checkconfigs == 1 and
- checkconfigs[1] ~= "build" and
- (options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
- local config = "./" .. gsub(checkconfigs[1],"%.lua$","") .. ".lua"
- if fileexists(config) then
- local savedtestfiledir = testfiledir
- dofile(config)
- testdir = testdir .. "-" .. checkconfigs[1]
- -- Reset testsuppdir if required
- if savedtestfiledir ~= testfiledir and
- testsuppdir == savedtestfiledir .. "/support" then
- testsuppdir = testfiledir .. "/support"
- end
- else
- print("Error: Cannot find configuration " .. checkconfigs[1])
- exit(1)
- end
+ checkconfigs[1] ~= "build" and
+ (options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
+ local configname = gsub(checkconfigs[1], "%.lua$", "")
+ local config = "./" .. configname .. ".lua"
+ if fileexists(config) then
+ local savedtestfiledir = testfiledir
+ dofile(config)
+ testdir = testdir .. "-" .. configname
+ -- Reset testsuppdir if required
+ if savedtestfiledir ~= testfiledir and
+ testsuppdir == savedtestfiledir .. "/support" then
+ testsuppdir = testfiledir .. "/support"
+ end
+ else
+ print("Error: Cannot find configuration " .. checkconfigs[1])
+ exit(1)
+ end
end
-- Call the main function