STYLE: adjust tutorial Allclean scripts (issue #310)

- A few without a 'cd' at the start.
  Several remove files that are already covered by the cleanCase function.
This commit is contained in:
Mark Olesen
2016-11-20 17:26:44 +01:00
parent f3cc16e42c
commit 21679c04e4
110 changed files with 253 additions and 282 deletions

View File

@ -1,13 +1,15 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface and features
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
rm -rf 0 > /dev/null 2>&1
cleanCase
rm -rf 0
# Remove surface and features
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
#------------------------------------------------------------------------------

View File

@ -22,4 +22,4 @@ runParallel $(getApplication)
runApplication reconstructParMesh -constant
runApplication reconstructPar -latestTime
# ----------------------------------------------------------------- end-of-file
# -----------------------------------------------------------------------------