summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2021-08-24 19:06:16 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2021-08-24 19:06:16 +0800
commitedc531673b23dd854e16ff6f52d749ceb93b1548 (patch)
tree910eb74ce779f3319f55f9413fc28302f426e803
parent96e01e4f6fe8e3294612360510485a7a7edb0bb0 (diff)
bugfix - changed shell script interpreter to env bash
Issue-ID: HOLMES-463 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn> Change-Id: I17d2901c5dcaf8d16e71aa39503e19bbfd476a5d
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/initDB.sh4
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.sh2
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/stop.sh4
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.