]> hackdaworld.org Git - physik/posic.git/blobdiff - run
more foo
[physik/posic.git] / run
diff --git a/run b/run
index b1a2ceb9727c8b0c9927b65c895d42fd5f8b913c..264a4aca518259049bfdeaea37f1c26e3d4885f4 100755 (executable)
--- a/run
+++ b/run
@@ -1,13 +1,10 @@
 mkdir -p saves video
 ./clean
-./sic $@
+./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