mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -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