Corrected spelling mistake existance -> existence
Patch provided by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2425
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -267,7 +267,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
|
||||
InfoInFunction << "Constructing fvMesh from IOobject" << endl;
|
||||
}
|
||||
|
||||
// Check the existance of the cell volumes and read if present
|
||||
// Check the existence of the cell volumes and read if present
|
||||
// and set the storage of V00
|
||||
if (isFile(time().timePath()/"V0"))
|
||||
{
|
||||
@ -288,7 +288,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
|
||||
V00();
|
||||
}
|
||||
|
||||
// Check the existance of the mesh fluxes, read if present and set the
|
||||
// Check the existence of the mesh fluxes, read if present and set the
|
||||
// mesh to be moving
|
||||
if (isFile(time().timePath()/"meshPhi"))
|
||||
{
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
# \\/ M anipulation |
|
||||
#-------------------------------------------------------------------------------
|
||||
# License
|
||||
@ -130,7 +130,7 @@ fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# If target not specified search up the directory tree for the Make
|
||||
# sub-directory, check the existance of the 'files' file and clean there if
|
||||
# sub-directory, check the existence of the 'files' file and clean there if
|
||||
# present
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
# \\/ M anipulation |
|
||||
#-------------------------------------------------------------------------------
|
||||
# License
|
||||
@ -58,7 +58,7 @@ fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Search up the directory tree for the Make sub-directory,
|
||||
# check the existance of the 'files' file and clean there if present
|
||||
# check the existence of the 'files' file and clean there if present
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Need to add an option or special logic to control cdSource
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
# \\/ M anipulation |
|
||||
#-------------------------------------------------------------------------------
|
||||
# License
|
||||
@ -89,7 +89,7 @@ dirName="$1"
|
||||
# Simple check against $PWD
|
||||
[ "$PWD" = "$dirName" ] && exit 0
|
||||
|
||||
# Check existance of <dir>
|
||||
# Check existence of <dir>
|
||||
[ -d "$dirName" ] || {
|
||||
[ "$quietOpt" = true ] || {
|
||||
echo "$Script error: Directory does not exist $dirName"
|
||||
|
||||
Reference in New Issue
Block a user