summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/l3build/l3build-check.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-18 21:57:54 +0000
committerKarl Berry <karl@freefriends.org>2019-09-18 21:57:54 +0000
commit57d8e344d4a807272cc4f5ee6c04af89ff866756 (patch)
treec4a0f1bde530f3bb23465d1ccda18efd544012c1 /Master/texmf-dist/scripts/l3build/l3build-check.lua
parentb2f37ee52f7c16b06e80a904fd3e59c0e88d1bfd (diff)
l3build (18sep19)
git-svn-id: svn://tug.org/texlive/trunk@52119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-check.lua')
-rw-r--r--Master/texmf-dist/scripts/l3build/l3build-check.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-check.lua b/Master/texmf-dist/scripts/l3build/l3build-check.lua
index c05defc792c..8d1d58aee3e 100644
--- a/Master/texmf-dist/scripts/l3build/l3build-check.lua
+++ b/Master/texmf-dist/scripts/l3build/l3build-check.lua
@@ -81,8 +81,11 @@ function checkinit()
cp(i, supportdir, testdir)
end
execute(os_ascii .. ">" .. testdir .. "/ascii.tcx")
+ return checkinit_hook()
end
+checkinit_hook = checkinit_hook or function() return 0 end
+
local function rewrite(source,result,processor,...)
local file = assert(open(source,"rb"))
local content = gsub(file:read("*all") .. "\n","\r\n","\n")