summaryrefslogtreecommitdiff
path: root/src/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-06-21 00:21:33 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2015-06-21 00:21:33 +0200
commit6f273e157c650d396cbad8e09e059b8b7c359818 (patch)
treefbf3a288f190c5f057a95eb796aee421ad5612a5 /src/luaotfload-tool.lua
parent90f398e1c9d2896b2d30d0b66f9c8a88255511a8 (diff)
parente8a56b051a32ed4c468c9325048ded01002a841a (diff)
downloadluaotfload-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-xsrc/luaotfload-tool.lua12
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