mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
tutorials: Allrun: Corrected subshell handling of logging function
This commit is contained in:
@ -75,7 +75,7 @@ logReport()
|
|||||||
# logReportDir <directory>
|
# logReportDir <directory>
|
||||||
# Extracts useful info from all log files in a directory
|
# Extracts useful info from all log files in a directory
|
||||||
logReportDir()
|
logReportDir()
|
||||||
{
|
(
|
||||||
[ -d $1 ] || return 0
|
[ -d $1 ] || return 0
|
||||||
|
|
||||||
cd $1 || return 1
|
cd $1 || return 1
|
||||||
@ -92,7 +92,7 @@ logReportDir()
|
|||||||
echo "" >> ../testLoopReport
|
echo "" >> ../testLoopReport
|
||||||
|
|
||||||
return $retVal
|
return $retVal
|
||||||
}
|
)
|
||||||
|
|
||||||
|
|
||||||
# Recursively run all cases
|
# Recursively run all cases
|
||||||
|
|||||||
Reference in New Issue
Block a user