From f0e3791a453ccc3042ec2f60e4b226b38e2cc3e1 Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 6 Jul 2012 08:58:53 +0000 Subject: [PATCH] correct an error of the == git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13247 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 .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/