lots of mostly small changes ...
[physik/posic.git] / run
1 ./clean
2 ./posic $@
3 if [ "$?" == "0" ]; then
4         ./perms
5         argv="`echo $@ | grep -- '-V'`"
6         if [ "$argv" ] ; then
7                 base=`echo $argv | awk -F'-V' '{ print $2 }' | \
8                         awk '{ print $2 }'`
9                 rasmol -nodisplay < ${base}.scr
10                 ./ppm2avi
11         fi
12 fi