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] Enforce checkbashisms tox profile
[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
717ea66
..
789f1b3
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,6
+1,6
@@
-#!/bin/bash -x
-{{/*
+#!/bin/sh -x
+{{/*
###
# ============LICENSE_START=======================================================
# APPC
###
# ============LICENSE_START=======================================================
# APPC
@@
-70,7
+70,8
@@
do
printf "."
sleep 1
done
printf "."
sleep 1
done
-echo -e "\nmariadbgalera ready"
+echo
+echo "mariadbgalera ready"
if [ ! -d ${DBINIT_DIR} ]
then
if [ ! -d ${DBINIT_DIR} ]
then
@@
-83,7
+84,7
@@
then
show databases like 'sdnctl';
END
)
show databases like 'sdnctl';
END
)
- if [ "
x${sdnc_db_exists}" = "x
" ]
+ if [ "
${sdnc_db_exists}" = "
" ]
then
echo "Installing SDNC database"
${SDNC_HOME}/bin/installSdncDb.sh
then
echo "Installing SDNC database"
${SDNC_HOME}/bin/installSdncDb.sh
@@
-92,7
+93,7
@@
END
show databases like 'appcctl';
END
)
show databases like 'appcctl';
END
)
- if [ "
x${appc_db_exists}" = "x
" ]
+ if [ "
${appc_db_exists}" = "
" ]
then
echo "Installing APPC database"
${APPC_HOME}/bin/installAppcDb.sh
then
echo "Installing APPC database"
${APPC_HOME}/bin/installAppcDb.sh