diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-20 21:35:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-20 21:35:33 +0000 |
commit | a262478df24d895c9ec6e33766d70ef3671fc097 (patch) | |
tree | 4aa64d676402332c34f40746304456c7bd9b16f2 /Master/texmf-dist/scripts | |
parent | 0bfa62a5a154a4375347eafd93488b528858ffc9 (diff) |
luaotfload 1.12 (18jun10)
git-svn-id: svn://tug.org/texlive/trunk@19078 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |