etc/bashrc, etc/cshrc: Filter $WM_PROJECT_DIR from paths rather than $FOAM_INST_DIR

Additionally filter $ParaView_DIR from paths in config.sh/paraview and config.csh/paraview

Resolves bug-report http://bugs.openfoam.org/view.php?id=2031
This commit is contained in:
Henry Weller
2016-05-05 15:37:00 +01:00
parent a89cd81aff
commit f7e4137ee5
8 changed files with 30 additions and 42 deletions

View File

@ -54,7 +54,7 @@ then
do
case "$1" in
-*)
# stray option (not meant for us here) -> get out
# Stray option (not meant for us here) -> get out
break
;;
*=)
@ -68,7 +68,7 @@ then
eval "export $1"
;;
*)
# filename: source it
# Filename: source it
if [ -f "$1" ]
then
_foamSource "$1"