diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2015-06-21 00:21:33 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2015-06-21 00:21:33 +0200 |
commit | 6f273e157c650d396cbad8e09e059b8b7c359818 (patch) | |
tree | fbf3a288f190c5f057a95eb796aee421ad5612a5 /src/luaotfload-tool.lua | |
parent | 90f398e1c9d2896b2d30d0b66f9c8a88255511a8 (diff) | |
parent | e8a56b051a32ed4c468c9325048ded01002a841a (diff) | |
download | luaotfload-6f273e157c650d396cbad8e09e059b8b7c359818.tar.gz |
Merge pull request #276 from phi-gamma/master
fixes; current progress regarding initialization
Diffstat (limited to 'src/luaotfload-tool.lua')
-rwxr-xr-x | src/luaotfload-tool.lua | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua index 36c23bd..e240e4c 100755 --- a/src/luaotfload-tool.lua +++ b/src/luaotfload-tool.lua @@ -288,10 +288,14 @@ local version_msg = function ( ) local var = uname_vars[i] out (" + %8s: %s", var, uname[var]) end - out ("Index: version=%q created=%q modified=%q", - config.luaotfload.status.notes.revision, - meta.created or "ages ago", - meta.modified or "ages ago") + if meta == false then + out("No database metadata available.") + else + out ("Index: version=%q created=%q modified=%q", + config.luaotfload.status.notes.revision, + meta.created or "ages ago", + meta.modified or "ages ago") + end out "" end |