BUG: etc/cshrc: alias cannot be called on single line if statement?

This commit is contained in:
mattijs
2010-03-18 11:14:35 +00:00
parent a703cb3b94
commit 61ec8ff8cb

View File

@ -74,7 +74,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 ) _foamSource $foamPrefs
if ( $status == 0 ) then
_foamSource $foamPrefs
endif
unset foamPrefs