aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common
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/common
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/common')
-rw-r--r--controlloop/common/feature-controlloop-utils/src/main/feature/install/disable6
-rw-r--r--controlloop/common/feature-controlloop-utils/src/main/feature/install/enable4
2 files changed, 5 insertions, 5 deletions
diff --git a/controlloop/common/feature-controlloop-utils/src/main/feature/install/disable b/controlloop/common/feature-controlloop-utils/src/main/feature/install/disable
index f5cab0ec8..2cbf8b6e0 100644
--- a/controlloop/common/feature-controlloop-utils/src/main/feature/install/disable
+++ b/controlloop/common/feature-controlloop-utils/src/main/feature/install/disable
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env ash
###
# ============LICENSE_START=======================================================
@@ -23,7 +23,7 @@
for actor in AAI GUARD SO SDNC VFC
do
FILE=${POLICY_HOME}/config/${actor}-http-client.properties
- if [[ -f ${FILE}.ofc ]]; then
+ if [ -f "${FILE}.ofc" ]; then
mv $FILE.ofc $FILE
fi
-done \ No newline at end of file
+done
diff --git a/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable b/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable
index 682f05ec2..4011b7d3d 100644
--- a/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable
+++ b/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env ash
###
# ============LICENSE_START=======================================================
@@ -27,7 +27,7 @@
for actor in AAI SO SDNC VFC GUARD
do
FILE=${POLICY_HOME}/config/${actor}-http-client.properties
- if [[ ! -f ${FILE}.ofc ]]; then
+ if [ ! -f "${FILE}.ofc" ]; then
mv ${FILE} ${FILE}.ofc
fi
done