Fix ini argument handling
This commit is contained in:
parent
034a95569b
commit
06e5dce213
@ -115,7 +115,7 @@ os.setenv("engine", status.luatex_engine)
|
||||
local ret_value
|
||||
local args = os.selfarg[1] and " \"" .. table.concat(os.selfarg, "\" \"") .. "\"" or ""
|
||||
if is_initex then
|
||||
ret_value = os.execute(string.format("luametatex \"--lua=%s\" --arg0=\"%s\"%s", dir, os.selfarg[0], argd))
|
||||
ret_value = os.execute(string.format("luametatex \"--lua=%s\" --arg0=\"%s\"%s", dir, os.selfarg[0], args))
|
||||
else
|
||||
ret_value = os.execute(string.format("luametatex \"--fmt=%s\" \"--lua=%s\" --arg0=\"%s\"%s", format, dir, os.selfarg[0], args))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user