Commit 52fc076b authored by mattijs's avatar mattijs
Browse files

ENH: in csh: clear PATH local shell variable so enforcing use of environment one.

Otherwise all $PATH will pick up the local one which will not be synchronised with $path
parent f65fe324
......@@ -218,7 +218,10 @@ if (! $?MANPATH) setenv MANPATH ''
#- Clean PATH (path)
set cleaned=`$foamClean "$PATH" "$foamOldDirs"`
if ( $status == 0 ) setenv PATH $cleaned
if ( $status == 0 ) then
unset PATH
setenv PATH $cleaned
set cleaned=`$foamClean "$LD_LIBRARY_PATH" "$foamOldDirs"`
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment