diff options
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-x | luaotfload-tool.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua index 0ee53eb..bab2a9a 100755 --- a/luaotfload-tool.lua +++ b/luaotfload-tool.lua @@ -36,12 +36,14 @@ see the luaotfload documentation for more info. Report bugs to --doc]]-- +kpse.set_program_name"luatex" + if _G.getfenv then - return require"luaotfload-legacy-tool" + local oldscript = kpse.find_file"luaotfload-legacy-tool.lua" + print(oldscript) + return require(oldscript) end -kpse.set_program_name"luatex" - local stringformat = string.format local texiowrite_nl = texio.write_nl local stringlower = string.lower |