Feat: Allow use of newer JDKs for Sonar scans
[releng/global-jjb.git] / shell / jjb-verify-build-nodes.sh
index 93d85be..9c5bfec 100644 (file)
@@ -34,20 +34,20 @@ jjbdir="jjb"
 # function to test if the argument is empty,
 # is two double quotes, or has unwanted suffix
 isBadLabel () {
-  local label="$1"
-  [[ -z "$label" ]] || [[ $label = "\"\"" ]] || [[ $label = *"$suffix" ]]
+    local label="$1"
+    [[ -z "$label" ]] || [[ $label = "\"\"" ]] || [[ $label = *"$suffix" ]]
 }
 
 # function to search an array for a value
 # $1 is value
 # $2 is array, passed via ${array[@]}
 isValueInArray () {
-  local e match="$1"
-  shift
-  for e; do
-      [[ "$e" == "$match" ]] && return 0
-  done
-  return 1
+    local e match="$1"
+    shift
+    for e; do
+        [[ "$e" == "$match" ]] && return 0
+    done
+    return 1
 }
 
 # check prereqs