diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-03 11:04:52 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-03 11:04:52 +0200 |
commit | 00fd07c628af41b0709d25fd00805385be561459 (patch) | |
tree | e946aacab408d2b2409018e9fef427c7a165a89a /luaotfload-merged.lua | |
parent | 1a42a842639df21d4738bb8ac12f146d829a9d17 (diff) | |
download | luaotfload-00fd07c628af41b0709d25fd00805385be561459.tar.gz |
add cache directory hint to luaotfload-tool; manage paths more consistently
Diffstat (limited to 'luaotfload-merged.lua')
-rw-r--r-- | luaotfload-merged.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-merged.lua b/luaotfload-merged.lua index 9d708bf..52c199a 100644 --- a/luaotfload-merged.lua +++ b/luaotfload-merged.lua @@ -3044,10 +3044,10 @@ if not caches.namespace or caches.namespace=="" or caches.namespace=="context" t end do local cachepaths=kpse.expand_var('$TEXMFCACHE') or "" - if cachepaths=="" then + if cachepaths=="" or cachepaths == "$TEXMFCACHE" then cachepaths=kpse.expand_var('$TEXMFVAR') or "" end - if cachepaths=="" then + if cachepaths=="" or cachepaths == "$TEXMFVAR" then cachepaths=kpse.expand_var('$VARTEXMF') or "" end if cachepaths=="" then |