From 9b15a7e249d87e2a80a6dbc29478426b92c94a2e Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 21 Oct 2008 13:45:50 +0100 Subject: [PATCH] foamAddLib does not like multiple paths --- etc/settings.csh | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/etc/settings.csh b/etc/settings.csh index 5eb326c5a5..1958e71787 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -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 # ~~~~~~~~~~~~~~~~~~~~~~