ENH: use new foamEtcFile options to simplify syntax when sourcing files
Can now use this: _foamSourceEtc config.sh/scotch _foamSourceEtc config.csh/scotch instead of this: _foamSource $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch) _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/scotch` In the bash/sh version, leave the _foamSource function for now, since ThirdParty is still relying on it. STYLE: elminate while-loop for _foamAddPath etc since this type of construct isn't readily possible for csh and isn't being used anywhere.
Showing
- etc/bashrc 15 additions, 15 deletionsetc/bashrc
- etc/config.csh/mpi 1 addition, 1 deletionetc/config.csh/mpi
- etc/config.csh/settings 1 addition, 1 deletionetc/config.csh/settings
- etc/config.sh/functions 28 additions, 25 deletionsetc/config.sh/functions
- etc/config.sh/mpi 1 addition, 1 deletionetc/config.sh/mpi
- etc/config.sh/settings 1 addition, 1 deletionetc/config.sh/settings
- etc/cshrc 24 additions, 20 deletionsetc/cshrc
Please register or sign in to comment