summaryrefslogtreecommitdiff
path: root/luaotfload-basics-gen.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-03 11:04:52 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-03 11:04:52 +0200
commit00fd07c628af41b0709d25fd00805385be561459 (patch)
treee946aacab408d2b2409018e9fef427c7a165a89a /luaotfload-basics-gen.lua
parent1a42a842639df21d4738bb8ac12f146d829a9d17 (diff)
downloadluaotfload-00fd07c628af41b0709d25fd00805385be561459.tar.gz
add cache directory hint to luaotfload-tool; manage paths more consistently
Diffstat (limited to 'luaotfload-basics-gen.lua')
-rw-r--r--luaotfload-basics-gen.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-basics-gen.lua b/luaotfload-basics-gen.lua
index 4a46fbb..a5da2fd 100644
--- a/luaotfload-basics-gen.lua
+++ b/luaotfload-basics-gen.lua
@@ -151,13 +151,13 @@ do
-- quite like tex live or so
- if cachepaths == "" then
+ if cachepaths == "$TEXMFCACHE" then
cachepaths = kpse.expand_var('$TEXMFVAR') or ""
end
-- this also happened to be used
- if cachepaths == "" then
+ if cachepaths == "$TEXMFVAR" then
cachepaths = kpse.expand_var('$VARTEXMF') or ""
end