mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: etc/cshrc: alias cannot be called on single line if statement?
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user