diff options
Diffstat (limited to 'update-luatex-font-database.lua')
-rw-r--r-- | update-luatex-font-database.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-luatex-font-database.lua b/update-luatex-font-database.lua index 38a83cb..9a870f5 100644 --- a/update-luatex-font-database.lua +++ b/update-luatex-font-database.lua @@ -114,11 +114,11 @@ local function process_cmdline() elseif v == "no-fc-cache" then run_fc_cache = 0 elseif v == "sys" then - luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. "/tex/" + luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. luaotfload.fonts.subtexmfvardir end end if string.match(arg[0], '-sys') then - luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. "/tex/" + luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. luaotfload.fonts.subtexmfvardir end luaotfload.fonts.log_level = log_level end |