X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=run;h=af5d425b9a19931c2f44bb0d011ee4269859e018;hb=1d83ceb2ce2ff5150fd079f1066b7f583e38c8f4;hp=b1a2ceb9727c8b0c9927b65c895d42fd5f8b913c;hpb=3ce21f4433c04699bb6f47f0332a6f0e3c462f5e;p=physik%2Fposic.git diff --git a/run b/run index b1a2ceb..af5d425 100755 --- a/run +++ b/run @@ -1,13 +1,10 @@ mkdir -p saves video -./clean -./sic $@ +./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