summaryrefslogtreecommitdiff
path: root/fontdbutil.lua
diff options
context:
space:
mode:
Diffstat (limited to 'fontdbutil.lua')
-rwxr-xr-xfontdbutil.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/fontdbutil.lua b/fontdbutil.lua
index a17dbe7..464cc62 100755
--- a/fontdbutil.lua
+++ b/fontdbutil.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