blob: 49131192078adc828ff8ee2ba8df411a2ee526ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
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"
elif [[ ! -f "ttyponies/$pony" ]]; then
ln -s `readlink "ponies/$pony"` "ttyponies/$pony"
fi
done
|