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:
|
# Add in preset user or site preferences:
|
||||||
set foamPrefs=`$WM_PROJECT_DIR/bin/foamEtcFile prefs.csh`
|
set foamPrefs=`$WM_PROJECT_DIR/bin/foamEtcFile prefs.csh`
|
||||||
if ( $status == 0 ) then
|
if ( $status == 0 ) then
|
||||||
_foamSource $foamPrefs
|
if ($foamPrefs) then
|
||||||
|
_foamSource $foamPrefs
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
unset foamPrefs
|
unset foamPrefs
|
||||||
|
|
||||||
|
|
|
@ -444,7 +444,7 @@ endif
|
||||||
|
|
||||||
# PyFoam
|
# 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
|
_foamSource $WM_THIRD_PARTY_DIR/packages/PyFoam-0.5.7/platforms/noarch/etc/PyFoam-0.5.7.csh
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Reference in a new issue