[cig-commits] [commit] knepley/upgrade-petsc-interface: Add script to remove output generated by examples. (24efc9f)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Feb 27 17:43:02 PST 2014


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/ff8c198552ecaa8b0c392c980e2ae626799874b9...24efc9fb9b5b90f87986cf32eb8135576abc4fcb

>---------------------------------------------------------------

commit 24efc9fb9b5b90f87986cf32eb8135576abc4fcb
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Thu Feb 27 17:43:05 2014 -0800

    Add script to remove output generated by examples.


>---------------------------------------------------------------

24efc9fb9b5b90f87986cf32eb8135576abc4fcb
 examples/cleanoutput.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/examples/cleanoutput.sh b/examples/cleanoutput.sh
new file mode 100755
index 0000000..4fee671
--- /dev/null
+++ b/examples/cleanoutput.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+for suffix in h5 xmf vtk; do
+  rm `find . -name "*.$suffix"`
+done
+
+exit 0



More information about the CIG-COMMITS mailing list