summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-11-05 16:27:53 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-11-05 16:27:53 +0100
commit7d9b63e35fb270ed0a23d82672793984f219f086 (patch)
treed06d9221ee2a2e06d28b02e97fa6a9a1f7553365 /scripts
parent343fdd99ef79884fca1f86b49c950e03939aeedf (diff)
downloadcontext-7d9b63e35fb270ed0a23d82672793984f219f086.tar.gz
2020-11-05 15:23:00
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-context.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 92e0ecbf0..2eba08573 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -669,6 +669,7 @@ function scripts.context.run(ctxdata,filename)
local a_arrange = getargument("arrange")
local a_noarrange = getargument("noarrange")
local a_jithash = getargument("jithash")
+ local a_permitloadlib = getargument("permitloadlib")
local a_texformat = getargument("texformat")
local a_keeptuc = getargument("keeptuc")
local a_keeplog = getargument("keeplog")
@@ -714,7 +715,8 @@ function scripts.context.run(ctxdata,filename)
formatfile, scriptfile = resolvers.locateformat(formatname)
end
--
- a_jithash = validstring(a_jithash or analysis.jithash) or nil
+ a_jithash = validstring(a_jithash or analysis.jithash) or nil
+ a_permitloadlib = a_permitloadlib or analysis.permitloadlib or nil
--
if not formatfile or not scriptfile then
report("warning: no format found, forcing remake (source driven)")
@@ -825,6 +827,7 @@ function scripts.context.run(ctxdata,filename)
-- ["lua"] = scriptfile,
["jobname"] = jobname,
["jithash"] = a_jithash,
+ ["permitloadlib"] = a_permitloadlib,
}
--
local directives = { }