summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2021-08-24 19:09:31 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2021-08-24 19:09:31 +0800
commit4640bd9237d68024c15f54d5884663eabb9f2fc0 (patch)
tree581fb7f9e54762f3c4fb787c3f3a8a3e65e35159
parent5aac9dc424bf07b2d641667afae7c34c35505595 (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: If9c199e4351cc4e9ae357a2aba08205d988703cf
-rw-r--r--engine-d-standalone/src/main/assembly/bin/initDB.sh4
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh5
-rw-r--r--engine-d-standalone/src/main/assembly/bin/stop.sh4
3 files changed, 6 insertions, 7 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/initDB.sh b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index f0c3713..3472e31 100644
--- a/engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/engine-d-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/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index b7aea04..e5a09df 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -1,7 +1,6 @@
-#!/bin/sh
-
+#!/usr/bin/env bash
#
-# Copyright 2017-2020 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/engine-d-standalone/src/main/assembly/bin/stop.sh b/engine-d-standalone/src/main/assembly/bin/stop.sh
index 5c217f1..1b3b610 100644
--- a/engine-d-standalone/src/main/assembly/bin/stop.sh
+++ b/engine-d-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.