From 473c2cb76e698fb3038b14c4b079b8428e36fae2 Mon Sep 17 00:00:00 2001 From: Sebastian Roth Date: Fri, 6 Dec 2019 00:24:26 +0000 Subject: [PATCH] adds missing [[ to elif statement in scripts/incremental_build.sh --- script/incremental_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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