mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: relocate WM_PROJECT_SITE default (issue #1050)
- was PREFIX/site, now PROJECT/site This avoids several issues when installing OpenFOAM in clusters without an intermediate OpenFOAM-specific installation prefix. The 'site' directory may have a reserved meaning in these situations and it is undesirable to 'leak' upwards into the parent directory to look for configuration files. Placing the default within the project directory avoids this. Alternative locations can be given via the WM_PROJECT_SITE variable.
This commit is contained in:
@ -115,9 +115,9 @@
|
||||
// - ~/.OpenFOAM/
|
||||
// <em>for version-independent files</em>
|
||||
// -# group settings
|
||||
// - $WM_PROJECT_INST_DIR/site/\<VERSION\>
|
||||
// - $WM_PROJECT_DIR/site/\<VERSION\>
|
||||
// <em>for version-specific files</em>
|
||||
// - $WM_PROJECT_INST_DIR/site/
|
||||
// - $WM_PROJECT_DIR/site/
|
||||
// <em>for version-independent files</em>
|
||||
// -# other (shipped) settings
|
||||
// - $WM_PROJECT_DIR/etc/
|
||||
|
||||
Reference in New Issue
Block a user