From 71a193dd5b265439c379f27529ca5b753f5ce3b0 Mon Sep 17 00:00:00 2001 From: Xicheng Chang Date: Fri, 26 Aug 2016 20:39:34 -0400 Subject: [PATCH] fix the bug caused by install.sh Change-Id: Ia4e9bc9abc6512e73a8ccf97662e1eac2ed2d6cf --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.sh b/install/install.sh index 3ac9a7d7..c7bc718d 100755 --- a/install/install.sh +++ b/install/install.sh @@ -357,7 +357,7 @@ source ${COMPASSDIR}/install/compass.sh || exit $? figlet -ctf slant Installation Complete! echo -e "It takes\x1b[32m $SECONDS \x1b[0mseconds during the installation." -if [ "$FULL_COMPASS_SERVER" == "false" ]; then +if [[ "${FULL_COMPASS_SERVER}" == "false" ]]; then machine_list_conf="MACHINE_LIST = [ { '${switch_IP}': [ " for host in ${PXE_MACs[@]}; do port=$(echo ${host} | awk -F , '{print $1}' | awk -F = '{print $2}')