diff options
author | Marius <mariausol@gmail.com> | 2013-05-21 17:40:23 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-21 17:40:23 +0300 |
commit | 4cbc44edaf20dc07bd22296153761137b27d8eff (patch) | |
tree | dd921ae629b772d623f00c0536cb1b08f962508d /tex/generic/context/luatex/luatex-basics-gen.lua | |
parent | 5fc5cfb5014ddcc2942e13a559f4082fb66aa6e7 (diff) | |
download | context-4cbc44edaf20dc07bd22296153761137b27d8eff.tar.gz |
beta 2013.05.21 16:14
Diffstat (limited to 'tex/generic/context/luatex/luatex-basics-gen.lua')
-rw-r--r-- | tex/generic/context/luatex/luatex-basics-gen.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/generic/context/luatex/luatex-basics-gen.lua b/tex/generic/context/luatex/luatex-basics-gen.lua index 0561778b4..4a46fbb07 100644 --- a/tex/generic/context/luatex/luatex-basics-gen.lua +++ b/tex/generic/context/luatex/luatex-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 |