Skip to content
Snippets Groups Projects
Commit 2ce12f2a authored by william's avatar william Committed by Andrew Heather
Browse files

BUG: fixed tutorial Allrun trying to test non-existent logs

parent 8b52119b
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation # \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
...@@ -80,7 +80,10 @@ do ...@@ -80,7 +80,10 @@ do
( (
[ -d $appDir ] && cd $appDir || exit [ -d $appDir ] && cd $appDir || exit
for log in `find . -name "log.*" | xargs ls -rt` logs=`find . -name "log.*"`
[ -n "$logs" ] || exit
for log in `echo $logs | xargs ls -rt`
do do
logReport $log >> ../testLoopReport logReport $log >> ../testLoopReport
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment