summaryrefslogtreecommitdiff
path: root/src/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-11-28 15:00:41 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-11-28 15:00:44 +0100
commite0c25f5fce650835da6316287164408476152b45 (patch)
tree952707d9ed33d7ba078e87aec5cd042d2aac54db /src/luaotfload-database.lua
parent78a1273715f8681fe8cb013b9699df11bfa56eaa (diff)
downloadluaotfload-e0c25f5fce650835da6316287164408476152b45.tar.gz
[tool,db] make cache directives work again
These were rendered unusable due to the suspended initialization. Creating the directives mapping on the fly is just as good.
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r--src/luaotfload-database.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 35450b5..881cfe8 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -3414,7 +3414,7 @@ end
local getwritablecachepath = function ( )
--- fonts.handlers.otf doesn’t exist outside a Luatex run,
--- so we have to improvise
- local writable = getwritablepath (config.luaotfload.paths.cache_dir)
+ local writable = getwritablepath (config.luaotfload.paths.cache_dir, "")
if writable then
return writable
end