tutorials: corrected scripts ']; then' -> ' ]; then'
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2175
This commit is contained in:
@ -25,7 +25,7 @@ USAGE
|
|||||||
unset timeOpt
|
unset timeOpt
|
||||||
|
|
||||||
# parse options
|
# parse options
|
||||||
while [ "$#" -gt 0]
|
while [ "$#" -gt 0 ]
|
||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h | -help)
|
-h | -help)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
#--------------------------------*- C++ -*------------------------------------#
|
#--------------------------------*- C++ -*------------------------------------#
|
||||||
# ========= | #
|
# ========= | #
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox #
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox #
|
||||||
# \\ / O peration | Version: dev #
|
# \\ / O peration | Version: 4.x #
|
||||||
# \\ / A nd | Web: www.OpenFOAM.org #
|
# \\ / A nd | Web: www.OpenFOAM.org #
|
||||||
# \\/ M anipulation | #
|
# \\/ M anipulation | #
|
||||||
#-----------------------------------------------------------------------------#
|
#-----------------------------------------------------------------------------#
|
||||||
@ -71,7 +71,7 @@ for xi in $(seq 1 1 $nx); do
|
|||||||
echo "processing cube $n"
|
echo "processing cube $n"
|
||||||
|
|
||||||
pad=""
|
pad=""
|
||||||
if [ $n -lt 10]; then
|
if [ $n -lt 10 ]; then
|
||||||
pad="0"
|
pad="0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user