From 56c53b52bfa815946a62fdb28ee432b5d849b9c9 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 20 Jun 2020 14:42:31 +0200 Subject: 2020-06-20 13:35:00 --- scripts/context/lua/mtx-install.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts/context/lua/mtx-install.lua') diff --git a/scripts/context/lua/mtx-install.lua b/scripts/context/lua/mtx-install.lua index b9b410353..67e087c06 100644 --- a/scripts/context/lua/mtx-install.lua +++ b/scripts/context/lua/mtx-install.lua @@ -498,16 +498,19 @@ function install.update() local binpath = joinfile(targetroot,"tex",texmfplatform,"bin") local luametatex = "luametatex" + local luatex = "luatex" local mtxrun = "mtxrun" local context = "context" if ostype == "windows" then luametatex = addsuffix(luametatex,"exe") + luatex = addsuffix(luatex,"exe") mtxrun = addsuffix(mtxrun,"exe") context = addsuffix(context,"exe") end local luametatexbin = joinfile(binpath,luametatex) + local luatexbin = joinfile(binpath,luatex) local mtxrunbin = joinfile(binpath,mtxrun) local contextbin = joinfile(binpath,context) @@ -552,6 +555,11 @@ function install.update() else -- report("xbit bad : %s",luametatexbin) end + if lfs.setexecutable(luatexbin) then + report("xbit set : %s",luatexbin) + else + -- report("xbit bad : %s",luatexbin) + end if lfs.setexecutable(mtxrunbin) then report("xbit set : %s",mtxrunbin) else @@ -570,7 +578,6 @@ function install.update() end run("%s --make en", contextbin) - -- in calling script: update mtxrun.exe and mtxrun.lua report("") -- cgit v1.2.3