This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b4101d46f0 [fix](workflow) Fix the errors when using sh to run shell 
scripts (#11898)
b4101d46f0 is described below

commit b4101d46f002276042dfbebfd0192526a7467ee3
Author: Adonis Ling <[email protected]>
AuthorDate: Fri Aug 19 21:28:52 2022 +0800

    [fix](workflow) Fix the errors when using sh to run shell scripts (#11898)
---
 build-support/shell-check.sh | 1 +
 run-be-ut.sh                 | 1 +
 2 files changed, 2 insertions(+)

diff --git a/build-support/shell-check.sh b/build-support/shell-check.sh
index 6f5327f9f6..604cc7c8ec 100755
--- a/build-support/shell-check.sh
+++ b/build-support/shell-check.sh
@@ -19,6 +19,7 @@
 # under the License.
 
 set -eo pipefail
+set +o posix
 
 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
 DORIS_HOME="$(
diff --git a/run-be-ut.sh b/run-be-ut.sh
index 4e5391a3fc..fc11e0ef2d 100755
--- a/run-be-ut.sh
+++ b/run-be-ut.sh
@@ -33,6 +33,7 @@
 #####################################################################
 
 set -eo pipefail
+set +o posix
 
 ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to