mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user