summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-dum.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/luat-dum.lua')
-rw-r--r--tex/context/base/luat-dum.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/luat-dum.lua b/tex/context/base/luat-dum.lua
index dd9f7460e..680c1ba1e 100644
--- a/tex/context/base/luat-dum.lua
+++ b/tex/context/base/luat-dum.lua
@@ -96,6 +96,10 @@ do
local cachepaths = kpse.expand_path('$TEXMFCACHE') or ""
if cachepaths == "" then
+ cachepaths = kpse.expand_path('$TEXMFVAR')
+ end
+
+ if cachepaths == "" then
cachepaths = kpse.expand_path('$VARTEXMF')
end