From 4640bd9237d68024c15f54d5884663eabb9f2fc0 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Tue, 24 Aug 2021 19:09:31 +0800 Subject: [PATCH] bugfix - changed shell script interpreter to env bash Issue-ID: HOLMES-463 Signed-off-by: Guangrong Fu Change-Id: If9c199e4351cc4e9ae357a2aba08205d988703cf --- engine-d-standalone/src/main/assembly/bin/initDB.sh | 4 ++-- engine-d-standalone/src/main/assembly/bin/run.sh | 5 ++--- engine-d-standalone/src/main/assembly/bin/stop.sh | 4 ++-- 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. -- 2.16.6