ENH: minor improvements to environment
- handle sourcing bashrc with a relative path (issue #383) - handle sourcing from bash and zsh. Still need manual intervention when sourcing dash, sh, or ksh. - replace grep in etc/cshrc with sed only - logical instead of physical path for WM_PROJECT_DIR (issue #431). Doesn't seem to be possible for csh/tcsh. * Continue using physical locations when comparing directories, but not for the top-level FOAM_INST_DIR, WM_PROJECT_DIR. - relocate WM_CC, WM_CXX overrides from etc/config.*/compiler to etc/config.*/settings to ensure that they are left untouched when etc/config.sh/compiler is sourced while making third-party packages (eg, gcc, llvm, CGAL). - provide fallback FOAM_TUTORIALS setting in RunFunctions STYLE: remove "~OpenFOAM" fallback as being too rare, non-obvious
Showing
- bin/paraFoam 1 addition, 1 deletionbin/paraFoam
- bin/tools/RunFunctions 6 additions, 0 deletionsbin/tools/RunFunctions
- bin/tools/foamConfigurePaths 11 additions, 5 deletionsbin/tools/foamConfigurePaths
- etc/bashrc 16 additions, 14 deletionsetc/bashrc
- etc/config.csh/compiler 0 additions, 16 deletionsetc/config.csh/compiler
- etc/config.csh/ensight 1 addition, 1 deletionetc/config.csh/ensight
- etc/config.csh/example/compiler 6 additions, 14 deletionsetc/config.csh/example/compiler
- etc/config.csh/mpi 2 additions, 2 deletionsetc/config.csh/mpi
- etc/config.csh/paraview 1 addition, 1 deletionetc/config.csh/paraview
- etc/config.csh/settings 86 additions, 73 deletionsetc/config.csh/settings
- etc/config.sh/compiler 1 addition, 15 deletionsetc/config.sh/compiler
- etc/config.sh/example/compiler 9 additions, 25 deletionsetc/config.sh/example/compiler
- etc/config.sh/example/paraview 3 additions, 2 deletionsetc/config.sh/example/paraview
- etc/config.sh/functions 3 additions, 4 deletionsetc/config.sh/functions
- etc/config.sh/mpi 2 additions, 2 deletionsetc/config.sh/mpi
- etc/config.sh/settings 80 additions, 63 deletionsetc/config.sh/settings
- etc/cshrc 21 additions, 18 deletionsetc/cshrc
- src/Allwmake 2 additions, 2 deletionssrc/Allwmake
- tutorials/Alltest 6 additions, 0 deletionstutorials/Alltest
- wmake/scripts/wmakeFunctions 10 additions, 10 deletionswmake/scripts/wmakeFunctions
Please register or sign in to comment