diff --git a/cpp/compile.sh b/cpp/compile.sh index 62c32830c7fb..e3733bdf755a 100755 --- a/cpp/compile.sh +++ b/cpp/compile.sh @@ -99,7 +99,7 @@ CURRENT_DIR=$( #gluten cpp will find arrow/parquet lib from ARROW_HOME if [ "$ARROW_HOME" == "" ]; then - if ["$BUILD_TYPE" == "Debug"] then + if [ "$BUILD_TYPE" == "Debug" ]; then ARROW_HOME="$CURRENT_DIR/../ep/build-velox/build/velox_ep/_build/debug/third_party/arrow_ep" else ARROW_HOME="$CURRENT_DIR/../ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep"