From 015e11f91b4519e90376d3b887793df515a38a29 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Mon, 26 Apr 2010 11:40:18 +0100 Subject: [PATCH] COMP: unset variable in Gcc4.5 path --- etc/settings.csh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/settings.csh b/etc/settings.csh index 4bde0e7ee0e..95fdacd9b25 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -121,7 +121,10 @@ case OpenFOAM: set gccDir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/$gcc_version set gmpDir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/$gmp_version set mpfrDir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/$mpfr_version - set mpcDir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/$mpc_version + + if ( $?mpc_version ) then + set mpcDir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/$mpc_version + endif # Check that the compiler directory can be found if ( ! -d "$gccDir" ) then -- GitLab