aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-14 16:54:47 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-06-02 00:58:45 +0100
commit16bb026362fba607110c40a1e3d6e904426a954a (patch)
treeaca79829b6f2fed950077e80c3cbd66e37f81534
parent4eb84605dffba6defae5e37d239e30fdebac0257 (diff)
downloadfiglet-16bb026362fba607110c40a1e3d6e904426a954a.tar.gz
Fix moolets bashism (closes #530082)
-rw-r--r--debian/changelog1
-rwxr-xr-x[-rw-r--r--]debian/examples/moolets9
2 files changed, 5 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 1a7c191..cdaad76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ figlet (2.2.5-1) UNRELEASED; urgency=low
- Various lintian fixes
- Update package description (closes: #557254)
- Update debian/copyright (closes: #436302)
+ - Fix moolets bashism (closes: #530082)
- Add watchfile
- Add Homepage to debian/control
- Remove references to deprecated figfonts(-cjk) packages
diff --git a/debian/examples/moolets b/debian/examples/moolets
index 284ebd3..3e0b74e 100644..100755
--- a/debian/examples/moolets
+++ b/debian/examples/moolets
@@ -2,13 +2,12 @@
# Prints "Moo" using every font installed on /usr/share/figlet
# Written by Sandro Tosi <matrixhasu@gmail.com>
-
-> /tmp/moolets
+# Modified by Jonathan McCrohan <jmccrohan@gmail.com>
for file in /usr/share/figlet/*.flf ; do
FONT=`basename $file | sed 's|\(.*\)\.\(.*\)|\1|'`
- echo -e "Font: $FONT \n" >> /tmp/moolets
- figlet -f $FONT Moo >> /tmp/moolets
- echo -e "\n\n" >> /tmp/moolets
+ printf "Font: $FONT\n"
+ figlet -f $FONT Moo
+ printf "\n"
done