Skip to content

Commit

Permalink
fix shell check fail
Browse files Browse the repository at this point in the history
  • Loading branch information
BiteTheDDDDt committed Oct 24, 2022
1 parent feb8d54 commit 4b359f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ if [[ -z "${USE_DWARF}" ]]; then
USE_DWARF='OFF'
fi

if [[ "${DISABLE_JAVA_UDF}" == "ON" ]]; then
BUILD_JAVA_UDF=0
if [[ -z "${DISABLE_JAVA_UDF}" ]]; then
DISABLE_JAVA_UDF='OFF'
fi

if [[ -z "${RECORD_COMPILER_SWITCHES}" ]]; then
Expand All @@ -301,6 +301,10 @@ if [[ "${BUILD_JAVA_UDF}" -eq 1 && "$(uname -s)" == 'Darwin' ]]; then
BUILD_JAVA_UDF=0
fi

if [[ "${DISABLE_JAVA_UDF}" == "ON" ]]; then
BUILD_JAVA_UDF=0
fi

echo "Get params:
BUILD_FE -- ${BUILD_FE}
BUILD_BE -- ${BUILD_BE}
Expand Down

0 comments on commit 4b359f8

Please sign in to comment.