BUG: cshell version was not sourcing prefs.csh
BUG: compilerInstall was getting overwritten in settings.{csh,sh}
This commit is contained in:
parent
f88e11ce3c
commit
3e0c66e919
@ -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
|
||||
|
||||
|
||||
|
@ -81,7 +81,7 @@ _foamAddLib $FOAM_USER_LIBBIN
|
||||
# Select compiler installation
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# compilerInstall = OpenFOAM | system
|
||||
set compilerInstall=OpenFOAM
|
||||
if ( ! $?compilerInstall ) set compilerInstall=OpenFOAM
|
||||
|
||||
switch ("$compilerInstall")
|
||||
case OpenFOAM:
|
||||
|
@ -105,7 +105,7 @@ unset compilerBin compilerLib compilerMan
|
||||
# Select compiler installation
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# compilerInstall = OpenFOAM | system
|
||||
compilerInstall=OpenFOAM
|
||||
: ${compilerInstall:=OpenFOAM}
|
||||
|
||||
case "${compilerInstall:-OpenFOAM}" in
|
||||
OpenFOAM)
|
||||
|
Loading…
Reference in New Issue
Block a user