From cf4fbcbbfa5b7132be324717499d9d13f9452b3d Mon Sep 17 00:00:00 2001 From: narindergupta Date: Tue, 7 Jun 2016 01:33:33 -0500 Subject: syntax error Change-Id: If7d3c7063a737b8b55dc9f1cc6c59b14aad1eb10 Signed-off-by: Narinder Gupta --- ci/01-deploybundle.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ci/01-deploybundle.sh') diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh index 660db5bd..636afc14 100755 --- a/ci/01-deploybundle.sh +++ b/ci/01-deploybundle.sh @@ -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 -- cgit 1.2.3-korg