github-actions[bot] commented on PR #27802: URL: https://github.com/apache/doris/pull/27802#issuecomment-1833183239
#### `sh-checker report` To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/7042866695") output. <details> <summary>shellcheck errors</summary> ``` 'shellcheck ' returned error 1 finding the following syntactical issues: ---------- In thirdparty/build-thirdparty.sh line 904: check_if_source_exist $PULSAR_SOURCE ^------------^ SC2248 (style): Prefer double quoting even when variables don't contain special characters. ^------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: check_if_source_exist "${PULSAR_SOURCE}" In thirdparty/build-thirdparty.sh line 906: cd $TP_SOURCE_DIR/$PULSAR_SOURCE ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^------------^ SC2248 (style): Prefer double quoting even when variables don't contain special characters. ^------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: cd "${TP_SOURCE_DIR}"/"${PULSAR_SOURCE}" In thirdparty/build-thirdparty.sh line 908: $CMAKE_CMD -DCMAKE_LIBRARY_PATH=$TP_INSTALL_DIR/lib -DCMAKE_INCLUDE_PATH=$TP_INSTALL_DIR/include \ ^--------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: ${CMAKE_CMD} -DCMAKE_LIBRARY_PATH="${TP_INSTALL_DIR}"/lib -DCMAKE_INCLUDE_PATH="${TP_INSTALL_DIR}"/include \ In thirdparty/build-thirdparty.sh line 909: -DPROTOC_PATH=$TP_INSTALL_DIR/bin/protoc -DBUILD_TESTS=OFF -DBUILD_PYTHON_WRAPPER=OFF -DBUILD_DYNAMIC_LIB=OFF . ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: -DPROTOC_PATH="${TP_INSTALL_DIR}"/bin/protoc -DBUILD_TESTS=OFF -DBUILD_PYTHON_WRAPPER=OFF -DBUILD_DYNAMIC_LIB=OFF . In thirdparty/build-thirdparty.sh line 910: ${BUILD_SYSTEM} -j$PARALLEL ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: ${BUILD_SYSTEM} -j"${PARALLEL}" In thirdparty/build-thirdparty.sh line 912: cp lib/libpulsar.a $TP_INSTALL_DIR/lib/ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: cp lib/libpulsar.a "${TP_INSTALL_DIR}"/lib/ In thirdparty/build-thirdparty.sh line 913: cp -r include/pulsar $TP_INSTALL_DIR/include/ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: cp -r include/pulsar "${TP_INSTALL_DIR}"/include/ For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2248 -- Prefer double quoting even when v... https://www.shellcheck.net/wiki/SC2250 -- Prefer putting braces around vari... ---------- 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