From a148f21ce4eb0893cbd40c3dff3f8feda88f1246 Mon Sep 17 00:00:00 2001
From: jjhua <jjhua@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Fri, 6 Jul 2012 08:59:58 +0000
Subject: [PATCH] correct an error of the ==

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 xCAT-server/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xCAT-server/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install b/xCAT-server/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install
index 963522dcd..0a5767d89 100755
--- a/xCAT-server/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install
+++ b/xCAT-server/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install
@@ -53,7 +53,7 @@ if [ $OS != "AIX" ]; then
     if [ $NODESETSTATE == "genimage" ]; then
     # Being called from <image>.postinstall script
     # Assume we are on the same machine
-        if [[ $OS = sles* ]] || [[ $OS = suse* ]] || [[ -f /etc/SuSE-release ]]; then
+        if [[ $OS == sles* ]] || [[ $OS == suse* ]] || [[ -f /etc/SuSE-release ]]; then
             mkdir $installroot/tmp/ofed_install
             cp -r $OFED_DIR $installroot/tmp/ofed_install/
             mount -t devtmpfs  /dev $installroot/dev/