diff options
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-check.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |