mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: several improvements to foamEtcFile
- lazier evaluation of project name and version based on the directory name. Avoids heuristics based on directory names unless really needed. - cope with alternative directory locations. For example, OpenFOAM+VERSION etc. The combination of the two above appears to be sufficient to open up the directory naming possibilities. - additional -list-test option (tests for existence of directory).
This commit is contained in:
@ -38,7 +38,7 @@
|
||||
# Use other (shipped) paraview with a different ParaView_VERSION
|
||||
#
|
||||
|
||||
set foamFile=`$WM_PROJECT_DIR/bin/foamEtcFile -mode o config.csh/paraview`
|
||||
set foamFile=`$WM_PROJECT_DIR/bin/foamEtcFile -mode=o config.csh/paraview`
|
||||
if ( $status == 0 ) source $foamFile ParaView_VERSION=5.0.1
|
||||
|
||||
unset foamFile
|
||||
|
||||
Reference in New Issue
Block a user