diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-05-14 23:08:40 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-05-14 23:08:40 +0200 |
commit | a5164d10bd1205a645e13080d69cdb1a2cc3a155 (patch) | |
tree | 8917c88d9a7376bd62b831b86c3b2ed7438f42d0 /src/luaotfload-tool.lua | |
parent | de2ebfd1e897e9bea9aee9ecffe1f146dd457adf (diff) | |
download | luaotfload-a5164d10bd1205a645e13080d69cdb1a2cc3a155.tar.gz |
[db,tool,diagnose] eliminat static config hack
Good riddance. We’re now fully migrated to the new, dynamic
configuration subsystem with respect to cache paths.
Diffstat (limited to 'src/luaotfload-tool.lua')
-rwxr-xr-x | src/luaotfload-tool.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua index d2b6800..fe6057c 100755 --- a/src/luaotfload-tool.lua +++ b/src/luaotfload-tool.lua @@ -250,10 +250,10 @@ Enter 'luaotfload-tool --help' for a larger list of options. local help_msg = function (version) local template = help_messages[version] - local pathdata = names.path - local names_plain = pathdata.index.lua + local paths = config.luaotfload.paths + local names_plain = paths.index_path_lua local names_gzip = names_plain .. ".gz" - local names_bin = pathdata.index.luc + local names_bin = paths.index_path_luc iowrite(stringformat(template, luaotfload.self, @@ -274,7 +274,7 @@ local version_msg = function ( ) local uname = os.uname () out (about, luaotfload.self) out ("%s version %q", luaotfload.self, version) - out ("revision %q", luaotfloadstatus.notes.revision) + out ("revision %q", config.luaotfload.status.notes.revision) out ("database version %q", names.version) out ("Lua interpreter: %s; version %q", runtime[1], runtime[2]) out ("Luatex SVN revision %d", status.luatex_svn) @@ -766,7 +766,6 @@ actions.config = function (job) if not config.actions.reconfigure () then return false, false end - names.initialize_env () return true, true end |