[cig-commits] r16936 - short/3D/PyLith/trunk/examples

brad at geodynamics.org brad at geodynamics.org
Tue Jun 8 11:39:06 PDT 2010


Author: brad
Date: 2010-06-08 11:39:06 -0700 (Tue, 08 Jun 2010)
New Revision: 16936

Modified:
   short/3D/PyLith/trunk/examples/run_examples.sh
Log:
Fixed script to run all examples.

Modified: short/3D/PyLith/trunk/examples/run_examples.sh
===================================================================
--- short/3D/PyLith/trunk/examples/run_examples.sh	2010-06-08 18:24:22 UTC (rev 16935)
+++ short/3D/PyLith/trunk/examples/run_examples.sh	2010-06-08 18:39:06 UTC (rev 16936)
@@ -20,8 +20,6 @@
 run_examples2() {
   commoncfg=$1
   cd ${examples_dir}/$dir
-  rm *.vtk
-  if [ -d output ]; then rm output/*.vtk; fi
   for example in $examples; do
     echo "RUNNING $dir/$example"
     pylith $commoncfg $example
@@ -62,7 +60,7 @@
 
 # 3d/hex8
 dir="3d/hex8"
-examples="step01 step02 step03 step04 step05 step06 step07 step08 step09 step10 step11 step12 step13 step14 step15 step16 step17"
+examples="step01.cfg step02.cfg step03.cfg step04.cfg step05.cfg step06.cfg step07.cfg step08.cfg step09.cfg step10.cfg step11.cfg step12.cfg step13.cfg step14.cfg step15.cfg step16.cfg step17.cfg"
 run_examples
 
 # ----------------------------------------------------------------------



More information about the CIG-COMMITS mailing list