github-actions[bot] commented on PR #26179:
URL: https://github.com/apache/doris/pull/26179#issuecomment-1790736518

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/6733295273";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In bin/start_fe.sh line 111:
       JAVA="$(which java)"
               ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In build-for-release.sh line 97:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In build-for-release.sh line 103:
       exit 1
       ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In build-support/check-format.sh line 34:
   CLANG_FORMAT="${CLANG_FORMAT_BINARY:=$(which clang-format)}"
                                          ^---^ SC2230 (info): 'which' is 
non-standard. Use builtin 'command -v' instead.
   
   
   In build-support/clang-format.sh line 34:
   CLANG_FORMAT="${CLANG_FORMAT_BINARY:=$(which clang-format)}"
                                          ^---^ SC2230 (info): 'which' is 
non-standard. Use builtin 'command -v' instead.
   
   
   In build.sh line 235:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In build.sh line 409:
       MAKE_PROGRAM="$(which "${BUILD_SYSTEM}")"
                       ^---^ SC2230 (info): 'which' is non-standard. Use 
builtin 'command -v' instead.
   
   
   In build_plugin.sh line 92:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In contrib/udf/build_udf.sh line 105:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In dist/download_scripts/download_base.sh line 42:
   if [[ -n $(which curl >/dev/null 2>&1) ]]; then
              ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In docker/thirdparties/run-thirdparties-docker.sh line 102:
       exit 0
       ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In docker/thirdparties/run-thirdparties-docker.sh line 108:
       exit 1
       ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In docker/thirdparties/run-thirdparties-docker.sh line 153:
           exit 1
           ^----^ SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
   
   
   In env.sh line 122:
           DORIS_GCC_HOME="$(dirname "$(which gcc)")"/..
                                        ^---^ SC2230 (info): 'which' is 
non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 140:
           DORIS_CLANG_HOME="$(dirname "$(which clang)")"/..
                                          ^---^ SC2230 (info): 'which' is 
non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 168:
       DORIS_GCC_HOME="$(dirname "$(which gcc)")/.."
                                    ^---^ SC2230 (info): 'which' is 
non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 196:
           JAVA="$(which java)"
                   ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In env.sh line 197:
           JAVAP="$(which javap)"
                    ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In fs_brokers/apache_hdfs_broker/bin/start_broker.sh line 70:
       JAVA="$(which java)"
               ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In gensrc/script/gen_build_version.sh line 79:
       java_cmd="$(which java)"
                   ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In run-be-ut.sh line 181:
   MAKE_PROGRAM="$(which "${BUILD_SYSTEM}")"
                   ^---^ SC2230 (info): 'which' is non-standard. Use builtin 
'command -v' instead.
   
   
   In run-regression-test.sh line 109:
       exit 1
       ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In samples/insert/shell/insert_utils.sh line 50:
               break
               ^---^ SC2317 (info): Command appears to be unreachable. Check 
usage (or ignore if invoked indirectly).
   
   
   In tools/restore_tablet_tool.sh line 89:
           shift
           ^---^ SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/create-ssb-tables.sh line 76:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/gen-ssb-data.sh line 93:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/load-ssb-data.sh line 86:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/run-ssb-flat-queries.sh line 75:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/run-ssb-queries.sh line 75:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/create-tpch-tables.sh line 73:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/gen-tpch-data.sh line 93:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/load-tpch-data.sh line 86:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/run-tpch-queries.sh line 74:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   For more information:
     https://www.shellcheck.net/wiki/SC2230 -- 'which' is non-standard. Use 
buil...
     https://www.shellcheck.net/wiki/SC2317 -- Command appears to be 
unreachable...
   ----------
   
   You can address the above issues in one of three ways:
   1. Manually correct the issue in the offending shell script;
   2. Disable specific issues by adding the comment:
     # shellcheck disable=NNNN
   above the line that contains the issue, where NNNN is the error code;
   3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
   
   
   
   ```
   </details>
   
   <details>
   <summary>shfmt errors</summary>
   
   ```
   'shfmt ' found no issues.
   
   ```
   </details>
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to