From 2fb331e3754b1bf70294adb8424825f08d249148 Mon Sep 17 00:00:00 2001
From: Xicheng Chang <xicheng.chang@huawei.com>
Date: Fri, 30 Dec 2016 09:21:53 +0000
Subject: [PATCH] Revert "fix compasss.sh"

This reverts commit 1063feea2407636ef01f7567571efe7c6a705873.
The reason for this revert is that this commit was mistakenly submitted to the master branch. Should be the dev/remote-deploy branch.

Change-Id: Ic058f3bc62076152cdf7660d02b10c327e3e5c4f
---
 install/compass.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/compass.sh b/install/compass.sh
index a4950768..9fc0dd62 100755
--- a/install/compass.sh
+++ b/install/compass.sh
@@ -134,7 +134,7 @@ if [ "$FULL_COMPASS_SERVER" == "true" ]; then
     sudo mv /etc/compass/celeryconfig_local /etc/compass/celeryconfig
 elif [ "$COMPASS_API_SERVER" != "c.stack360.io" ];then
     sudo mv /etc/compass/celeryconfig_local /etc/compass/celeryconfig
-    sudo sed -i "s/localhost/$COMPASS_API_SERVER/g" /etc/compass/celeryconfig
+    sudo sed -i "s/localhost/\$COMPASS_API_SERVER/g" /etc/compass/celeryconfig
 else
     sudo mv /etc/compass/celeryconfig_remote /etc/compass/celeryconfig
     wget -O /tmp/aws_credentials "http://www.stack360.io/aws_credentials"