mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: removed unnecessary sed processing from cleanCase
This commit is contained in:
@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user