X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=run;h=264a4aca518259049bfdeaea37f1c26e3d4885f4;hb=0acbade9c8d1ed354c333955dc2c5575540a9236;hp=584a4462b121ad61eccc25e500280335e623ac52;hpb=881d130efd1104bd886507e3d90f262f7a82cf2d;p=physik%2Fposic.git diff --git a/run b/run index 584a446..264a4ac 100755 --- a/run +++ b/run @@ -1,13 +1,10 @@ mkdir -p saves video ./clean -./posic $@ +./sic if [ "$?" == "0" ]; then ./perms - argv="`echo $@ | grep -- '-V'`" - if [ "$argv" ] ; then - base=`echo $argv | awk -F'-V' '{ print $2 }' | \ - awk '{ print $2 }'` - rasmol -nodisplay < ${base}.scr + if [ "$1" ] ; then + rasmol -nodisplay < $1.scr > /dev/null 2>&1 ./ppm2avi fi fi