X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=run;h=264a4aca518259049bfdeaea37f1c26e3d4885f4;hb=01be83f52829176f95a7fa6bb38a9f3518d44aa9;hp=841b3771b72374c6e1ac0bdcfb9375d9ca65abcd;hpb=c38fe34069adb9697683235f8b1e2311a3122e8f;p=physik%2Fposic.git diff --git a/run b/run index 841b377..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 > /dev/null 2>&1 + if [ "$1" ] ; then + rasmol -nodisplay < $1.scr > /dev/null 2>&1 ./ppm2avi fi fi