yiguolei commented on code in PR #25097: URL: https://github.com/apache/doris/pull/25097#discussion_r1357637161
########## build.sh: ########## @@ -634,6 +634,10 @@ if [[ "${OUTPUT_BE_BINARY}" -eq 1 ]]; then cp -r -p "${DORIS_HOME}/be/output/bin"/* "${DORIS_OUTPUT}/be/bin"/ cp -r -p "${DORIS_HOME}/be/output/conf"/* "${DORIS_OUTPUT}/be/conf"/ cp -r -p "${DORIS_HOME}/be/output/dict" "${DORIS_OUTPUT}/be/" + if [[ ! -d "${DORIS_HOME}/zoneinfo" ]]; then + tar -xzf "${DORIS_HOME}/zoneinfo.tar.gz" -C "${DORIS_HOME}"/ Review Comment: 只检查 zoneinfo 这个文件夹是不够的,最好检查其中的一个文件是否存在。否则可能是空文件夹。 ########## build.sh: ########## @@ -634,6 +634,10 @@ if [[ "${OUTPUT_BE_BINARY}" -eq 1 ]]; then cp -r -p "${DORIS_HOME}/be/output/bin"/* "${DORIS_OUTPUT}/be/bin"/ cp -r -p "${DORIS_HOME}/be/output/conf"/* "${DORIS_OUTPUT}/be/conf"/ cp -r -p "${DORIS_HOME}/be/output/dict" "${DORIS_OUTPUT}/be/" + if [[ ! -d "${DORIS_HOME}/zoneinfo" ]]; then + tar -xzf "${DORIS_HOME}/zoneinfo.tar.gz" -C "${DORIS_HOME}"/ Review Comment: 只检查 zoneinfo 这个文件夹是不够的,最好检查其中的一个文件是否存在。否则可能是空文件夹。 -- 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