diff --git a/script/incremental_build.sh b/script/incremental_build.sh index 34febdf24bfe..ec2d7e5b23e7 100755 --- a/script/incremental_build.sh +++ b/script/incremental_build.sh @@ -26,7 +26,7 @@ readonly CUSTOM_FLAG=$(IFS=, ; echo "${CUSTOM_ANALYSIS_PLUGINS[*]}") ACTIONS=("$@") if [[ "${#ACTIONS[@]}" == 0 ]]; then ACTIONS=("analyze" "--custom-analysis" "$CUSTOM_FLAG" "test" "java-test") -elif [ "${ACTIONS[@]}" == "analyze" ]; then +elif [[ "${ACTIONS[@]}" == "analyze" ]]; then ACTIONS=("analyze" "--custom-analysis" "$CUSTOM_FLAG") fi