summaryrefslogtreecommitdiffstats
path: root/ci/02-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-09 21:04:04 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-09 21:04:04 -0500
commita6e2934c295ce89eccd14d42f6fa9af654b45cb0 (patch)
tree1cdc99b7a3c32dd0210925df642f31d3447515ec /ci/02-deploybundle.sh
parent89fe6869c63bfe43df92055e9d3a91bd65f3a8f8 (diff)
modified to correct deployment
Change-Id: I6942d254d7fe105f6ccaa1ddf0090e9d832e4f35 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/02-deploybundle.sh')
-rwxr-xr-xci/02-deploybundle.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh
index be11a1f0..3ef038a1 100755
--- a/ci/02-deploybundle.sh
+++ b/ci/02-deploybundle.sh
@@ -133,7 +133,7 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
#update source if trusty is target distribution
var=os-$opnfvsdn-$fea-$opnfvtype"-"$opnfvdistro"_"$openstack
- if [ "$osdomname" != "None" ]; then
+ if ([ $osdomname ] && [ $osdomname != "null" ] && [ $osdomname != "None"]); then
var=$var"_"publicapi
fi
else