From edc531673b23dd854e16ff6f52d749ceb93b1548 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Tue, 24 Aug 2021 19:06:16 +0800 Subject: [PATCH] bugfix - changed shell script interpreter to env bash Issue-ID: HOLMES-463 Signed-off-by: Guangrong Fu Change-Id: I17d2901c5dcaf8d16e71aa39503e19bbfd476a5d --- rulemgt-standalone/src/main/assembly/bin/initDB.sh | 4 ++-- rulemgt-standalone/src/main/assembly/bin/run.sh | 2 +- rulemgt-standalone/src/main/assembly/bin/stop.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.sh b/rulemgt-standalone/src/main/assembly/bin/initDB.sh index 586eb03..c43f3e9 100644 --- a/rulemgt-standalone/src/main/assembly/bin/initDB.sh +++ b/rulemgt-standalone/src/main/assembly/bin/initDB.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/usr/bin/env bash # -# Copyright 2017 ZTE Corporation. +# Copyright 2017-2021 ZTE Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index 5595a33..d1b80ab 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Copyright 2017-2021 ZTE Corporation. diff --git a/rulemgt-standalone/src/main/assembly/bin/stop.sh b/rulemgt-standalone/src/main/assembly/bin/stop.sh index 2f98e77..ade940d 100644 --- a/rulemgt-standalone/src/main/assembly/bin/stop.sh +++ b/rulemgt-standalone/src/main/assembly/bin/stop.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash # -# Copyright 2017 ZTE Corporation. +# Copyright 2017-2021 ZTE Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. -- 2.16.6