syntax error 47/15247/1
authornarindergupta <narinder.gupta@canonical.com>
Tue, 7 Jun 2016 06:33:33 +0000 (01:33 -0500)
committernarindergupta <narinder.gupta@canonical.com>
Tue, 7 Jun 2016 06:34:31 +0000 (01:34 -0500)
Change-Id: If7d3c7063a737b8b55dc9f1cc6c59b14aad1eb10
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-deploybundle.sh

index 660db5b..636afc1 100755 (executable)
@@ -41,7 +41,8 @@ if [ -e ~/.juju/deployment.yaml ]; then
       sed --i "s@#ext-port: \"eth1\"@ext-port: \"$extport\"@g" ./bundles.yaml
 
       datanet=`grep "dataNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'`
-      if [ -z "$datanet" ]
+
+      if [ -z "$datanet" ]; then
           sed --i "s@#os-data-network: 10.4.8.0/21@os-data-network: $datanet@g" ./bundles.yaml
       fi