aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-20 03:59:18 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-20 03:59:18 +0200
commitaf328addd5b52e46ccaeb26f06e9e203d7cd60e6 (patch)
tree885bc801b3460f59068db1281f53b88135ab8548 /configure
parent71c85565fda8aa50d41dfbd6bd261c99d8303084 (diff)
downloadponysay-af328addd5b52e46ccaeb26f06e9e203d7cd60e6.tar.gz
ponysay-af328addd5b52e46ccaeb26f06e9e203d7cd60e6.tar.bz2
ponysay-af328addd5b52e46ccaeb26f06e9e203d7cd60e6.zip
ttyponies
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index de82635..2762d0b 100755
--- a/configure
+++ b/configure
@@ -330,13 +330,13 @@ ttyponies:
mkdir -p "ttyponies"
for pony in \$\$(ls --color=no "ponies/"); do \\
echo "building ttypony: \$\$pony" ;\\
- if [ \`readlink "ponies/\$\$pony"\` = "" ]; then \\
- ponysay2ttyponysay < "ponies/\$\$pony" | tty2colourfultty -c 1 -e > "ttyponies/\$\$pony" ;\\
+ if [ "\`readlink "ponies/\$\$pony"\`" = '' ]; then \\
+ unisay2ttyunisay < "ponies/\$\$pony" | tty2colourfultty -c 1 -e > "ttyponies/\$\$pony" ;\\
git add "ttyponies/\$\$pony" ;\\
- elif [ ! -f "ttyponies/\$\$pony" ]; then \\
- ln -s \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\
+ else \\
+ ln -sf \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\
git add "ttyponies/\$\$pony" ;\\
- fi \\
+ fi ;\\
done
pdfmanual: