From 2ba06c139c46208f03d24e06963bbdc3db72f4b1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 2 Nov 2019 21:08:17 +0000 Subject: l3build (2nov19) git-svn-id: svn://tug.org/texlive/trunk@52619 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/texlive/linked_scripts/l3build/l3build.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua b/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua index d9f4fe23f8e..48f3ab99d4f 100644 --- a/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua +++ b/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua @@ -2,7 +2,7 @@ --[[ -File l3build.lua Copyright (C) 2014-2018 The LaTeX3 Project +File l3build.lua Copyright (C) 2014-2019 The LaTeX3 Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -25,7 +25,7 @@ for those people who are interested. --]] -- Version information -release_date = "2019-10-02" +release_date = "2019-11-01" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") @@ -177,8 +177,14 @@ if #checkconfigs == 1 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) -- cgit v1.2.3