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
@ -434,7 +434,7 @@ restore0Dir()
|
||||
(
|
||||
echo "Filter #include directives in processors/0:"
|
||||
\cd processors/0 2>/dev/null || exit 0
|
||||
for file in $(grep -l "#include" * 2> /dev/null)
|
||||
for file in $(grep -l "#include" * 2>/dev/null)
|
||||
do
|
||||
foamDictionary "$file" > "$file.$$." && mv "$file.$$." "$file"
|
||||
echo " $file"
|
||||
|
||||
Reference in New Issue
Block a user