Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Fix condition equality bashisms
[oom.git]
/
kubernetes
/
appc
/
resources
/
config
/
appc
/
opt
/
onap
/
appc
/
bin
/
startODL.sh
diff --git
a/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
b/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
index
512f380
..
c91a460
100755
(executable)
--- a/
kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
+++ b/
kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
@@
-1,4
+1,5
@@
#!/bin/bash -x
#!/bin/bash -x
+{{/*
###
# ============LICENSE_START=======================================================
###
# ============LICENSE_START=======================================================
@@
-27,6
+28,7
@@
# if not already installed, and starts the APPC Docker Container
#
#set -x
# if not already installed, and starts the APPC Docker Container
#
#set -x
+*/}}
function enable_odl_cluster(){
if [ -z $APPC_REPLICAS ]; then
function enable_odl_cluster(){
if [ -z $APPC_REPLICAS ]; then
@@
-81,7
+83,7
@@
then
show databases like 'sdnctl';
END
)
show databases like 'sdnctl';
END
)
- if [ "x${sdnc_db_exists}" =
=
"x" ]
+ if [ "x${sdnc_db_exists}" = "x" ]
then
echo "Installing SDNC database"
${SDNC_HOME}/bin/installSdncDb.sh
then
echo "Installing SDNC database"
${SDNC_HOME}/bin/installSdncDb.sh
@@
-90,7
+92,7
@@
END
show databases like 'appcctl';
END
)
show databases like 'appcctl';
END
)
- if [ "x${appc_db_exists}" =
=
"x" ]
+ if [ "x${appc_db_exists}" = "x" ]
then
echo "Installing APPC database"
${APPC_HOME}/bin/installAppcDb.sh
then
echo "Installing APPC database"
${APPC_HOME}/bin/installAppcDb.sh