From f6d5fa2f2dd0654c823403304bc5973bb4cc9491 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Mon, 16 Nov 2020 10:48:39 -0500 Subject: 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 --- .../common/feature-controlloop-utils/src/main/feature/install/enable | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controlloop/common/feature-controlloop-utils/src/main/feature/install/enable') 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 -- cgit 1.2.3-korg