mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: verificationAndValidation Allrun uses bash
STYLE: double-quote "$@" for isTest/notTest
This commit is contained in:
@ -26,7 +26,7 @@ setDamBreakFine ()
|
||||
(cd damBreak && foamRunTutorials)
|
||||
|
||||
|
||||
if notTest $@
|
||||
if notTest "$@"
|
||||
then
|
||||
# Clone case
|
||||
cloneCase damBreak damBreakFine
|
||||
|
||||
@ -25,7 +25,7 @@ setDamBreakFine ()
|
||||
# Do damBreak
|
||||
(cd damBreak && foamRunTutorials)
|
||||
|
||||
if notTest $@
|
||||
if notTest "$@"
|
||||
then
|
||||
# Clone case
|
||||
cloneCase damBreak damBreakFine
|
||||
|
||||
@ -5,7 +5,7 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
(cd eulerianInjection && ./Allrun $*)
|
||||
|
||||
if notTest $@
|
||||
if notTest "$@"
|
||||
then
|
||||
# Note: particle data only available if running complete case
|
||||
(cd lagrangianParticleInjection && ./Allrun $*)
|
||||
|
||||
Reference in New Issue
Block a user