summaryrefslogtreecommitdiff
path: root/luaotfload-merged.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-03 10:18:36 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-03 10:18:36 -0700
commit47138047e4b2f7500c627034f83c6343d61bf257 (patch)
tree4bef4a3010c9de1275623c5f649fedf6844535fa /luaotfload-merged.lua
parentd83870c2e97cbae23a1d011f0fd0e2994a893e3b (diff)
parent4adcf7591ed8104b0b846d500a5d30d4ff32512e (diff)
downloadluaotfload-47138047e4b2f7500c627034f83c6343d61bf257.tar.gz
Merge pull request #104 from phi-gamma/master
update to version 2.3
Diffstat (limited to 'luaotfload-merged.lua')
-rw-r--r--luaotfload-merged.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/luaotfload-merged.lua b/luaotfload-merged.lua
index 81e3fec..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
@@ -3143,7 +3143,7 @@ function caches.savedata(path,name,data)
local luaname,lucname=makefullname(path,name)
if luaname then
texio.write(string.format("(save: %s)",luaname))
- table.tofile(luaname,data,true,{ reduce=true })
+ table.tofile(luaname,data,true,{ reduce=false })
if lucname and type(caches.compile)=="function" then
os.remove(lucname)
texio.write(string.format("(save: %s)",lucname))