X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=run;h=264a4aca518259049bfdeaea37f1c26e3d4885f4;hb=4bf9958c9ed62371b6d620c7ca167bd9993d2148;hp=4c753fe476cc66aa3586a0a32edad1791c5338ab;hpb=8358faac044f73487d64f5ba46690dd84367e532;p=physik%2Fposic.git diff --git a/run b/run index 4c753fe..264a4ac 100755 --- a/run +++ b/run @@ -1,12 +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