mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove unnecessary stdout, stderr /dev/null redirects
- no stderr redirect needed:
* 'command -v'
- no stdout/stderr redirect needed:
* 'rm -f'
STYLE: consistent spacing after redirects
This commit is contained in:
committed by
Andrew Heather
parent
ec7e3c88e4
commit
e6dfb39c66
@ -6,8 +6,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase0
|
||||
|
||||
# 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
|
||||
rm -f constant/triSurface/motorBike.obj.gz
|
||||
rm -f constant/triSurface/motorBike.eMesh
|
||||
rm -rf constant/extendedFeatureEdgeMesh
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh
|
||||
rm -f constant/triSurface/*.eMesh
|
||||
|
||||
rm -rf VTK
|
||||
rm -rf constant/bottomAir/polyMesh
|
||||
|
||||
@ -3,7 +3,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
\rm -f constant/triSurface/blob.obj
|
||||
rm -f constant/triSurface/blob.obj
|
||||
|
||||
cleanCase0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user