mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect log-check in runParallel (RunFunctions)
STYLE: minor rewording, drop grep/sed in favour of sed only
This commit is contained in:
@ -11,7 +11,7 @@ runKivaToFoam()
|
||||
{
|
||||
if [ -f log.kivaToFoam ]
|
||||
then
|
||||
echo "kivaToFoam already run: remove log file to run"
|
||||
echo "kivaToFoam already run: remove log file to re-run"
|
||||
else
|
||||
echo "kivaToFoam: converting kiva file"
|
||||
kivaToFoam -file $1 > log.kivaToFoam 2>&1
|
||||
@ -23,7 +23,7 @@ restartApplication()
|
||||
{
|
||||
if [ -f log-2.$1 ]
|
||||
then
|
||||
echo "$1 already run: remove log file to run"
|
||||
echo "$1 already run: remove log file to re-run"
|
||||
else
|
||||
echo "Running $1"
|
||||
$1 > log-2.$1 2>&1
|
||||
|
||||
Reference in New Issue
Block a user