From 101bc5daa1e07744841732ba1eb2f54c7e1e8ea7 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Wed, 12 Feb 2014 08:03:41 +0100
Subject: [glyphs] print more useful error message

---
 scripts/mkglyphlist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'scripts/mkglyphlist')

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)
-- 
cgit v1.2.3