BUG: removed unnecessary sed processing from cleanCase

This commit is contained in:
william
2014-10-16 16:02:50 +01:00
committed by Andrew Heather
parent 5782999e7c
commit 167249c7b3

View File

@ -2,7 +2,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation # \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
@ -108,12 +108,6 @@ cleanCase()
then then
rm -f constant/polyMesh/blockMeshDict > /dev/null 2>&1 rm -f constant/polyMesh/blockMeshDict > /dev/null 2>&1
fi fi
for f in `find . -name "*Dict"`
do
sed -e /arguments/d $f > temp.$$
mv temp.$$ $f
done
} }
removeCase() removeCase()