From af328addd5b52e46ccaeb26f06e9e203d7cd60e6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 20 Aug 2012 03:59:18 +0200 Subject: ttyponies --- configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure') 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: -- cgit