BUG: incorrect log-check in runParallel (RunFunctions)

STYLE: minor rewording, drop grep/sed in favour of sed only
This commit is contained in:
Mark Olesen
2011-01-02 18:42:26 +01:00
parent 185d417530
commit 6091cdb0a5
4 changed files with 13 additions and 12 deletions

View File

@ -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