summaryrefslogtreecommitdiff
path: root/otfl-luat-dum.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-04-27 12:42:43 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-04-27 12:42:43 +0200
commitf80559dee34d3e2c01f5793541e1c6fb4b6b641b (patch)
treeca3f925387f04aaef5744c504c2740f2eef839c8 /otfl-luat-dum.lua
parentc920ac08672ba41fcae65f1ce0d71212db36621e (diff)
downloadluaotfload-f80559dee34d3e2c01f5793541e1c6fb4b6b641b.tar.gz
Change the default cache path
Per Manuel's suggestion, we now use TEXMVAR/luatex/generic/luaotfload/ instead of TEXMVAR/luatex-cache/latex/.
Diffstat (limited to 'otfl-luat-dum.lua')
-rw-r--r--otfl-luat-dum.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-luat-dum.lua b/otfl-luat-dum.lua
index 6e2e1c6..3946b6f 100644
--- a/otfl-luat-dum.lua
+++ b/otfl-luat-dum.lua
@@ -90,7 +90,7 @@ function caches.setpath(category,subcategory)
-- root = kpse.var_value("VARTEXMF") or ""
-- end
local var = kpse.var_value("TEXMFVAR")
- local root = var and (var .. "/luatex-cache/latex") or ""
+ local root = var and (var .. "/luatex/generic/luaotfload/") or ""
if root ~= "" then
root = file.join(root,category)
lfs.mkdir(root)