summaryrefslogtreecommitdiffstats
path: root/controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-11-16 10:48:39 -0500
committerTaka Cho <takamune.cho@att.com>2020-11-16 16:31:26 -0500
commitf6d5fa2f2dd0654c823403304bc5973bb4cc9491 (patch)
treec286a5e2ac1b35fb553911ebadfde3dc59f27c4f /controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh
parent21362791e6488bb36f543f0319b195e24f239dcb (diff)
move all bash to ash shell scripts for drools-apps
this gerrit would be the first step to not to use any GPL-3.0 and plus license Issue-ID: POLICY-2847 Change-Id: I6787af6afd4a90d09d3cca86fa2ee7c5b6ea4eb0 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh')
-rw-r--r--controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh b/controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh
index 6ec9e1d53..2e4691e93 100644
--- a/controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh
+++ b/controlloop/packages/docker-controlloop/src/main/resources/pdpd-cl-entrypoint.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env ash
# ########################################################################
# Copyright 2019-2020 AT&T Intellectual Property. All rights reserved
@@ -16,7 +16,7 @@
# limitations under the License.
# ########################################################################
-if [[ ${DEBUG} == y ]]; then
+if [ "${DEBUG}" = "y" ]; then
echo "-- $0 $* --"
set -x
fi