From 103c3e6af44d32ddefd0fc887f1462970af82d0c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 8 May 2021 21:07:31 +0000 Subject: l3build (8may21) git-svn-id: svn://tug.org/texlive/trunk@59136 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/l3build/l3build-check.lua | 2 +- Master/texmf-dist/scripts/l3build/l3build.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/scripts/l3build') diff --git a/Master/texmf-dist/scripts/l3build/l3build-check.lua b/Master/texmf-dist/scripts/l3build/l3build-check.lua index dce9e68c6ab..47ab19ced60 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-check.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-check.lua @@ -1007,7 +1007,7 @@ function save(names) return 1 end local test_type = test_types[kind] - if locate({unpackdir, testfiledir}, {name .. test_type.expectation}) then + if test_type.expectation and locate({unpackdir, testfiledir}, {name .. test_type.expectation}) then print("Saved " .. test_type.test .. " file would override a " .. test_type.expectation .. " file of the same name") return 1 diff --git a/Master/texmf-dist/scripts/l3build/l3build.lua b/Master/texmf-dist/scripts/l3build/l3build.lua index 0b68ee1617d..82994397648 100755 --- a/Master/texmf-dist/scripts/l3build/l3build.lua +++ b/Master/texmf-dist/scripts/l3build/l3build.lua @@ -25,7 +25,7 @@ for those people who are interested. --]] -- Version information -release_date = "2021-05-05" +release_date = "2021-05-06" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") -- cgit v1.2.3