summaryrefslogtreecommitdiff
path: root/luaotfload-basics-gen.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-21 13:41:00 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-21 13:41:00 -0700
commit1b1890c3b306e42a451465e64c5dbd8f0f094303 (patch)
treefca2e364841ccf8cf2c61d851446092c05ce2ce9 /luaotfload-basics-gen.lua
parente7b6210272a3287205d0692c995d35d5b783c189 (diff)
parentbd84183e5fb0e97e974b4a9c5fdfac776fdf369a (diff)
downloadluaotfload-1b1890c3b306e42a451465e64c5dbd8f0f094303.tar.gz
Merge pull request #88 from phi-gamma/master
fix request parser; fix name matching bug; better workaround for ``mkdirs()``; sync with latest Contest
Diffstat (limited to 'luaotfload-basics-gen.lua')
-rw-r--r--luaotfload-basics-gen.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/luaotfload-basics-gen.lua b/luaotfload-basics-gen.lua
index 0561778..4a46fbb 100644
--- a/luaotfload-basics-gen.lua
+++ b/luaotfload-basics-gen.lua
@@ -147,18 +147,18 @@ do
-- standard context tree setup
- local cachepaths = kpse.expand_path('$TEXMFCACHE') or ""
+ local cachepaths = kpse.expand_var('$TEXMFCACHE') or ""
-- quite like tex live or so
if cachepaths == "" then
- cachepaths = kpse.expand_path('$TEXMFVAR')
+ cachepaths = kpse.expand_var('$TEXMFVAR') or ""
end
-- this also happened to be used
if cachepaths == "" then
- cachepaths = kpse.expand_path('$VARTEXMF')
+ cachepaths = kpse.expand_var('$VARTEXMF') or ""
end
-- and this is a last resort