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
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment