BUG: fixed tutorial Allrun trying to test non-existent logs
This commit is contained in:
parent
a014727b67
commit
6a98180e16
1 changed files with 5 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
# \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
|
|
@ -80,7 +80,10 @@ do
|
|||
(
|
||||
[ -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
|
||||
logReport $log >> ../testLoopReport
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue