summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-12 08:03:41 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-12 08:03:41 +0100
commit101bc5daa1e07744841732ba1eb2f54c7e1e8ea7 (patch)
tree04f879016bacba6ed114380b5861364482c0879f /scripts
parente1c73c29abeb709aff1b2ed6491f84ca2011d9c5 (diff)
downloadluaotfload-101bc5daa1e07744841732ba1eb2f54c7e1e8ea7.tar.gz
[glyphs] print more useful error message
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkglyphlist2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkglyphlist b/scripts/mkglyphlist
index e660a57..8fde098 100755
--- a/scripts/mkglyphlist
+++ b/scripts/mkglyphlist
@@ -146,7 +146,7 @@ local get_raw get_raw = function (retry)
if glyphdata then
local fh = io.open(glyphfile, "wb")
if not fh then
- print"error: glyph file not writable"
+ print (string.format ("error: glyph file (%s) not writable", glyphfile))
os.exit(-1)
end
fh:write(glyphdata)