summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-22 10:05:24 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-22 10:05:24 +0200
commitc170cba2b369564a94b10e992822cbe8601b0f99 (patch)
treeec858e83c66da05054a6925e56f9103c25947585 /mkluatexfontdb.lua
parent17488f095c0c1f7007fee89da8a337763605280e (diff)
downloadluaotfload-c170cba2b369564a94b10e992822cbe8601b0f99.tar.gz
Fixing backward compatibility with current released lualibs
Diffstat (limited to 'mkluatexfontdb.lua')
-rwxr-xr-xmkluatexfontdb.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua
index 776fbb3..96dcf60 100755
--- a/mkluatexfontdb.lua
+++ b/mkluatexfontdb.lua
@@ -20,6 +20,10 @@ local loader_file = "luatexbase.loader.lua"
local loader_path = assert(kpse.find_file(loader_file, "lua"),
"File '"..loader_file.."' not found")
+string.quoted = string.quoted or function (str)
+ return string.format("%q",str)
+end
+
--texiowrite_nl("("..loader_path..")")
dofile(loader_path) -- FIXME this pollutes stdout with filenames