foamEtcFile: Add support for openfoamdev
This commit is contained in:
parent
26030001f6
commit
aa4ed59ba3
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
|
|
@ -103,7 +103,7 @@ OpenFOAM-*) # standard naming convention OpenFOAM-<VERSION>
|
||||||
version="${projectDirName##OpenFOAM-}"
|
version="${projectDirName##OpenFOAM-}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
openfoam[0-9]*) # debian naming convention 'openfoam<VERSION>'
|
openfoam[0-9]* | openfoamdev) # debian naming convention 'openfoam<VERSION>'
|
||||||
versionNum="${projectDirName##openfoam}"
|
versionNum="${projectDirName##openfoam}"
|
||||||
case "$versionNum" in
|
case "$versionNum" in
|
||||||
??) # convert 2 digit version number to decimal delineated
|
??) # convert 2 digit version number to decimal delineated
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue