From a43a4e1654554c6ef1db2f88eb94b5bd38cb33e8 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Tue, 28 Jun 2011 11:43:51 +0100
Subject: [PATCH] Corrected comparison operators to be POSIX-compliant Reduced
 the required gcc version to 4.3.2

---
 bin/foamInstallationTest | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/foamInstallationTest b/bin/foamInstallationTest
index 67a7edf6edc..1fdd491e969 100755
--- a/bin/foamInstallationTest
+++ b/bin/foamInstallationTest
@@ -32,7 +32,7 @@
 #------------------------------------------------------------------------------
 
 # Base settings
-MIN_VERSION_GCC=4.3.3
+MIN_VERSION_GCC=4.3.2
 
 # General
 WIDTH=20
@@ -270,7 +270,7 @@ reportExecutable()
             pass="yes"
         fi
 
-        if [ "$pass" == "" ] && [ "$gccOk" == "" ]; then
+        if [ "$pass" = "" ] && [ "$gccOk" = "" ]; then
             if [ $V2 -lt $MINV2 ]; then
                 gccOk="ERROR"
             elif [ $V2 -gt $MINV2 ]; then
@@ -278,7 +278,7 @@ reportExecutable()
             fi
         fi
 
-        if [ "$pass" == "" ] && [ "$gccOk" == "" ] && [ $V3 != "" ] && [ $MINV3 != "" ]; then
+        if [ "$pass" = "" ] && [ "$gccOk" = "" ] && [ $V3 != "" ] && [ $MINV3 != "" ]; then
             if [ $V3 -lt $MINV3 ]; then
                 gccOk="ERROR"
             fi
@@ -291,7 +291,7 @@ reportExecutable()
             echo ""
             fatalError=`expr $fatalError + 1`
         fi
- 
+
 
         ;;
     gtar)
-- 
GitLab