foamAddLib does not like multiple paths

This commit is contained in:
mattijs
2008-10-21 13:45:50 +01:00
parent 50dcc40e9a
commit 9b15a7e249

View File

@ -78,11 +78,6 @@ _foamMkDir $FOAM_USER_LIBBIN
_foamMkDir $FOAM_USER_APPBIN
# Compiler settings
# ~~~~~~~~~~~~~~~~~
set compilerBin=
set compilerLib=
# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
@ -111,19 +106,13 @@ case OpenFOAM:
echo
endif
set compilerBin=$WM_COMPILER_DIR/bin
set compilerLib=$WM_COMPILER_DIR/lib${WM_COMPILER_LIB_ARCH}:$WM_COMPILER_DIR/lib
_foamAddPath ${WM_COMPILER_DIR}/bin
_foamAddLib ${WM_COMPILER_DIR}/lib${WM_COMPILER_LIB_ARCH}
_foamAddLib ${WM_COMPILER_DIR}/lib
breaksw
endsw
if ($?compilerBin) then
_foamAddPath $compilerBin
_foamAddLib $compilerLib
endif
unset compilerBin
unset compilerLib
# Communications library
# ~~~~~~~~~~~~~~~~~~~~~~