more foo
[physik/posic.git] / run
diff --git a/run b/run
index b1a2ceb..264a4ac 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