lots of mostly small changes ...
[physik/posic.git] / run
diff --git a/run b/run
new file mode 100755 (executable)
index 0000000..4c753fe
--- /dev/null
+++ b/run
@@ -0,0 +1,12 @@
+./clean
+./posic $@
+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
+               ./ppm2avi
+       fi
+fi