diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-20 03:59:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-20 03:59:18 +0200 |
commit | af328addd5b52e46ccaeb26f06e9e203d7cd60e6 (patch) | |
tree | 885bc801b3460f59068db1281f53b88135ab8548 /configure | |
parent | 71c85565fda8aa50d41dfbd6bd261c99d8303084 (diff) | |
download | ponysay-af328addd5b52e46ccaeb26f06e9e203d7cd60e6.tar.gz ponysay-af328addd5b52e46ccaeb26f06e9e203d7cd60e6.tar.bz2 ponysay-af328addd5b52e46ccaeb26f06e9e203d7cd60e6.zip |
ttyponies
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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: |