From a262478df24d895c9ec6e33766d70ef3671fc097 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Jun 2010 21:35:33 +0000 Subject: luaotfload 1.12 (18jun10) git-svn-id: svn://tug.org/texlive/trunk@19078 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua b/Master/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua index a72478bda7f..a2d208de1da 100755 --- a/Master/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua +++ b/Master/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua @@ -135,7 +135,7 @@ local function generate(force) os.exit(1) end end - savepath = savepath .. '/' .. names.path.basename + savepath = file.join(savepath, names.path.basename) local fh = io.open(savepath, 'a+') if not fh then texio.write_nl(string.format("Error: cannot write file '%s', exiting.\n", savepath)) @@ -150,7 +150,7 @@ local function generate(force) end fontnames = names.update(fontnames, force) log("%s fonts in the database", #fontnames.mappings) - io.savedata(savepath, table.serialize(fontnames, true)) + table.tofile(savepath, fontnames, true) log("saved font names database in %s\n", savepath) end -- cgit v1.2.3