summaryrefslogtreecommitdiffstats
path: root/controlloop/packages/docker-controlloop/src/main
diff options
context:
space:
mode:
authorBruno Sakoto <bruno.sakoto@bell.ca>2019-10-08 17:19:05 -0400
committerBruno Sakoto <bruno.sakoto@bell.ca>2019-10-08 17:22:51 -0400
commit112d8b48a4515773e769e088df2e5a5ca6f85f63 (patch)
tree0c0b569cc3cb03ded3b17360e49ceb7d69c6e748 /controlloop/packages/docker-controlloop/src/main
parent4fe4c5386f738ad49c967508b6f3f6fb9255605a (diff)
Fix syntax error when starting policy
Fix following syntax error in policy entry point: /opt/app/policy/bin/docker-entrypoint.sh: line 30: syntax error near unexpected token `fi' Issue-ID: POLICY-2088 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I517937f5ece8454d83f6c3cad1f96fba52b62317
Diffstat (limited to 'controlloop/packages/docker-controlloop/src/main')
-rw-r--r--controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
index eeeeeb069..c48cf6422 100644
--- a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
+++ b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
@@ -24,14 +24,14 @@ function maven {
fi
if [[ -f "${POLICY_INSTALL_INIT}"/settings.xml ]]; then
- if ! cmp -s "${POLICY_INSTALL_INIT}"/settings.xml "${POLICY_HOME}"/etc/m2/settings.xml then
+ if ! cmp -s "${POLICY_INSTALL_INIT}"/settings.xml "${POLICY_HOME}"/etc/m2/settings.xml; then
echo "overriding settings.xml"
cp -f "${POLICY_INSTALL_INIT}"/settings.xml "${POLICY_HOME}"/etc/m2
fi
fi
if [[ -f "${POLICY_INSTALL_INIT}"/standalone-settings.xml ]]; then
- if ! cmp -s "${POLICY_INSTALL_INIT}"/standalone-settings.xml "${POLICY_HOME}"/etc/m2/standalone-settings.xml then
+ if ! cmp -s "${POLICY_INSTALL_INIT}"/standalone-settings.xml "${POLICY_HOME}"/etc/m2/standalone-settings.xml; then
echo "overriding standalone-settings.xml"
cp -f "${POLICY_INSTALL_INIT}"/standalone-settings.xml "${POLICY_HOME}"/etc/m2
fi