Fix docker run 11/65111/2
authorLianhao Lu <lianhao.lu@intel.com>
Fri, 7 Sep 2018 02:42:10 +0000 (10:42 +0800)
committerMichael Lando <ml636r@att.com>
Tue, 18 Sep 2018 11:20:32 +0000 (11:20 +0000)
Fixed the bug of docker run simulator.

Change-Id: I9e1ba595d306137eddfecb7a516804c9b7259116
Issue-ID: SDC-1747
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
sdc-os-chef/scripts/docker_run.sh

index 0616324..004a0b7 100755 (executable)
@@ -555,7 +555,7 @@ function sdc-ui-tests {
 
 # SDC-Simulator
 function sdc-sim {
-    if [ ${RUN_SIMULATOR} == true ]; then
+    if [ "${RUN_SIMULATOR}" == true ]; then
         echo "docker run sdc-webSimulator..."
         if [ ${LOCAL} = false ]; then
             docker pull ${PREFIX}/sdc-simulator:${RELEASE}