Use rm -rf to avoid warnings for files that have already been removed.

This commit is contained in:
henry
2008-07-08 19:13:07 +01:00
parent 2ccd8322f0
commit 27a474bed7
4 changed files with 9 additions and 14 deletions

View File

@ -2,4 +2,4 @@
foamCleanTutorials cases
rm -rf processor*
rm 0/pd.gz 0/alpha1.gz
rm -rf 0/pd.gz 0/alpha1.gz

View File

@ -4,16 +4,13 @@
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cd constrictedChannel
rm -rf 0 > /dev/null 2>&1
rm Ar-Ar Ar-Ne Ne-Ne > /dev/null 2>&1
rm constant/idList
rm -rf 0
rm -rf Ar-Ar Ar-Ne Ne-Ne
rm -rf constant/idList
cleanCase
cd ..
cd nanoNozzle
rm -rf processor[0-9] > /dev/null 2>&1
rm -rf processor[0-9]
cleanCase
cd ..

View File

@ -4,10 +4,8 @@
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cd periodicCube
rm -rf 0 > /dev/null 2>&1
rm Ar-Ar > /dev/null 2>&1
rm constant/idList
rm -rf 0
rm -rf Ar-Ar
rm -rf constant/idList
cleanCase
cd ..

View File

@ -24,7 +24,7 @@ do
if [ "$case" = "biconic25-55Run35" ]
then
rm $case/constant/polyMesh/boundary
rm -rf $case/constant/polyMesh/boundary
wclean $case/datToFoam
fi
done