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,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# This cleanup handles both cmake runTimePostProcessing and the dummy version
|
||||
|
||||
# Cleanup library files with .so version endings
|
||||
rm -f $FOAM_LIBBIN/librunTimePostProcessing* 2>/dev/null
|
||||
rm -f $FOAM_LIBBIN/librunTimePostProcessing*
|
||||
|
||||
# Cleanup generated files - remove entire top-level
|
||||
removeObjectDir "$PWD"
|
||||
|
||||
@ -27,7 +27,7 @@ then
|
||||
depend=ignore
|
||||
elif [ -n "$depend" ]
|
||||
then
|
||||
if command -v cmake > /dev/null 2>&1
|
||||
if command -v cmake >/dev/null
|
||||
then
|
||||
cmakeVersioned "$depend" $PWD || {
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user