summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-05 11:17:04 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-05 11:17:04 +0200
commit4bfa9bd8a45f244272910772b147d7caa50b4bc1 (patch)
tree662c9d027760bba5150235782344fa173a8982fc /luaotfload-tool.lua
parent4adcf7591ed8104b0b846d500a5d30d4ff32512e (diff)
downloadluaotfload-4bfa9bd8a45f244272910772b147d7caa50b4bc1.tar.gz
bring back Lua 5.1 parser compat in luaotfload-tool
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index a353b37..83fb3e0 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -39,7 +39,7 @@ see the luaotfload documentation for more info. Report bugs to
kpse.set_program_name"luatex"
if _G.getfenv then
- local oldscript = kpse.find_file"luaotfload-legacy-tool.lua"
+ local oldscript = kpse.find_file "luaotfload-legacy-tool.lua"
return require(oldscript)
end
@@ -136,8 +136,8 @@ local names = fonts.names
local sanitize_string = names.sanitize_string
--local db_src_out = names.path.dir.."/"..names.path.basename
-local names_plain = file.join
- (caches.getwritablepath (config.luaotfload.names_dir),
+local names_plain = file.join (
+ caches.getwritablepath (config.luaotfload.names_dir),
config.luaotfload.names_file)
local names_bin = file.replacesuffix (names_plain, "luc")
@@ -234,8 +234,8 @@ local help_msg = function ( )
config.luaotfload.self,
names_plain,
names_bin,
- caches.getwritablepath
- (config.luaotfload.cache_dir)))
+ caches.getwritablepath (
+ config.luaotfload.cache_dir)))
end
local version_msg = function ( )