X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=run;h=af5d425b9a19931c2f44bb0d011ee4269859e018;hb=1d83ceb2ce2ff5150fd079f1066b7f583e38c8f4;hp=841b3771b72374c6e1ac0bdcfb9375d9ca65abcd;hpb=c38fe34069adb9697683235f8b1e2311a3122e8f;p=physik%2Fposic.git diff --git a/run b/run index 841b377..af5d425 100755 --- a/run +++ b/run @@ -1,13 +1,10 @@ mkdir -p saves video -./clean -./posic $@ +./clean $1 +./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 > /dev/null 2>&1 - ./ppm2avi + #./perms + if [ "$1" ] ; then + rasmol -nodisplay < $1/visualize.scr > /dev/null 2>&1 + ./ppm2avi $1 fi fi