Fixed tcsh bugs
This commit is contained in:
parent
61dbc3971f
commit
08b09c5246
2 changed files with 4 additions and 2 deletions
|
@ -79,7 +79,9 @@ alias _foamSource 'if ($?FOAM_VERBOSE && $?prompt) echo "Sourcing: \!*"; source
|
|||
# Add in preset user or site preferences:
|
||||
set foamPrefs=`$WM_PROJECT_DIR/bin/foamEtcFile prefs.csh`
|
||||
if ( $status == 0 ) then
|
||||
_foamSource $foamPrefs
|
||||
if ($foamPrefs) then
|
||||
_foamSource $foamPrefs
|
||||
endif
|
||||
endif
|
||||
unset foamPrefs
|
||||
|
||||
|
|
|
@ -444,7 +444,7 @@ endif
|
|||
|
||||
# PyFoam
|
||||
# ~~~~~~
|
||||
if ( $?PYFOAM_SYSTEM == 0 && -e "$WM_THIRD_PARTY_DIR"/packages/PyFoam-0.5.7 ) then
|
||||
if ( $?PYFOAM_SYSTEM == 0 && -e "$WM_THIRD_PARTY_DIR"/packages/PyFoam-0.5.7/platforms/noarch ) then
|
||||
_foamSource $WM_THIRD_PARTY_DIR/packages/PyFoam-0.5.7/platforms/noarch/etc/PyFoam-0.5.7.csh
|
||||
endif
|
||||
|
||||
|
|
Reference in a new issue