X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=run;h=3a155433e7452906f3ff329cfa6a969ecb863c10;hb=9c2172b5fce9688fa6be8d8a30745f9ef0b31419;hp=4c753fe476cc66aa3586a0a32edad1791c5338ab;hpb=8358faac044f73487d64f5ba46690dd84367e532;p=physik%2Fposic.git diff --git a/run b/run index 4c753fe..3a15543 100755 --- a/run +++ b/run @@ -1,12 +1,10 @@ -./clean -./posic $@ +mkdir -p saves video +./clean $1 +./sic $1 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 - ./ppm2avi + #./perms + if [ "$1" ] ; then + rasmol -32 -nodisplay < $1/visualize.scr > /dev/null 2>&1 + ./ppm2avi $1 fi fi