diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-11-30 20:31:49 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-11-30 20:31:49 +0100 |
commit | 273b29a84706a7cefb56963300a7f54f3ffe147f (patch) | |
tree | a947c63080fcdc7a042dfd6ca4f667fff609e6fc /tex/context/base/mkiv/util-sbx.lua | |
parent | 7ecbcaaf68d152851591dbb5931a6eb15d155019 (diff) | |
download | context-273b29a84706a7cefb56963300a7f54f3ffe147f.tar.gz |
2019-11-29 21:57:00
Diffstat (limited to 'tex/context/base/mkiv/util-sbx.lua')
-rw-r--r-- | tex/context/base/mkiv/util-sbx.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/util-sbx.lua b/tex/context/base/mkiv/util-sbx.lua index c3df27122..cd282009e 100644 --- a/tex/context/base/mkiv/util-sbx.lua +++ b/tex/context/base/mkiv/util-sbx.lua @@ -322,6 +322,7 @@ local reported = { } local function validcommand(name,program,template,checkers,defaults,variables,reporter,strict) if validbinaries ~= false and (validbinaries == true or validbinaries[program]) then + local binpath = nil if variables then for variable, value in next, variables do local chktype = checkers[variable] @@ -363,8 +364,8 @@ local function validcommand(name,program,template,checkers,defaults,variables,re end end end + binpath = variables.binarypath end - local binpath = variables.binarypath if type(binpath) == "string" and binpath ~= "" then -- this works on the console but not from e.g. scite -- program = '"' .. binpath .. "/" .. program .. '"' |