Module: check_mk
Branch: master
Commit: e10e2e3aa972e0d097c221f5cc82aa97bc724ff5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e10e2e3aa972e0…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Nov 15 10:46:30 2011 +0100
figheader: correct shell quoting
---
doc/helpers/figheader | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/helpers/figheader b/doc/helpers/figheader
index 643e662..ed36a9d 100755
--- a/doc/helpers/figheader
+++ b/doc/helpers/figheader
@@ -6,7 +6,7 @@ septop = "# ." + '-' * (width - 6) + '.'
sepmid = "# +" + '-' * (width - 6) + '+'
sepbot = "# '" + '-' * (width - 6) + "'"
print septop
-for line in os.popen("figlet -c -w %d %s" % (width - 7, "
".join(sys.argv[1:])), "r"):
+for line in os.popen("figlet -c -w %d '%s'" % (width - 7, "
".join(sys.argv[1:])), "r"):
line = line[:-1]
print ("# |%-" + str(width - 6) + "s|") % line
print sepmid