summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-13 19:23:19 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-13 19:23:19 +0200
commita9107ee964f128f6575813dd8d1b574d0006c8b9 (patch)
tree487415a4acff909554068f1c971772b3d0c94555 /mkluatexfontdb.lua
parent83fc1197e06aeb208da7d88e8f9183abbd585b6f (diff)
downloadluaotfload-a9107ee964f128f6575813dd8d1b574d0006c8b9.tar.gz
move “config” to _G
Diffstat (limited to 'mkluatexfontdb.lua')
-rwxr-xr-xmkluatexfontdb.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua
index 034de57..ec8396f 100755
--- a/mkluatexfontdb.lua
+++ b/mkluatexfontdb.lua
@@ -20,7 +20,8 @@ local loader_path = assert(kpse.find_file(loader_file, 'tex'),
--texiowrite_nl("("..loader_path..")")
dofile(loader_path) -- FIXME this pollutes stdout with filenames
-local config = config or { }
+_G.config = _G.config or { }
+local config = _G.config
config.lualibs = config.lualibs or { }
config.lualibs.prefer_merged = false
config.lualibs.load_extended = true