This is an automated email from the ASF dual-hosted git repository. jiafengzheng 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 618f12115f [fix](chore) fix env.sh build on macOS (#23676) 618f12115f is described below commit 618f12115f9f566fa21e39d7b0f582fd392c5600 Author: zy-kkk <zhongy...@gmail.com> AuthorDate: Thu Aug 31 10:32:59 2023 +0800 [fix](chore) fix env.sh build on macOS (#23676) --- env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/env.sh b/env.sh index a7fe915316..835d8cafc9 100755 --- a/env.sh +++ b/env.sh @@ -146,7 +146,7 @@ elif [[ "${DORIS_TOOLCHAIN}" == "clang" ]]; then fi covs=() - while IFS='' read -r line; do covs+=("${line}"); done < <(find "${DORIS_CLANG_HOME}" -name "llvm-cov*") + while IFS='' read -r line; do covs+=("${line}"); done <<<"$(find "${DORIS_CLANG_HOME}" -name "llvm-cov*")" if [[ ${#covs[@]} -ge 1 ]]; then LLVM_COV="${covs[0]}" else @@ -155,7 +155,7 @@ elif [[ "${DORIS_TOOLCHAIN}" == "clang" ]]; then export LLVM_COV profdatas=() - while IFS='' read -r line; do profdatas+=("${line}"); done < <(find "${DORIS_CLANG_HOME}" -name "llvm-profdata*") + while IFS='' read -r line; do profdatas+=("${line}"); done <<<"$(find "${DORIS_CLANG_HOME}" -name "llvm-profdata*")" if [[ ${#profdatas[@]} -ge 1 ]]; then LLVM_PROFDATA="${profdatas[0]}" else --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org