diff --git a/native/android/app/bash/detect_abis.sh b/native/android/app/bash/detect_abis.sh index e17bf6e7c..ecd8a4f6b 100755 --- a/native/android/app/bash/detect_abis.sh +++ b/native/android/app/bash/detect_abis.sh @@ -1,23 +1,23 @@ #!/usr/bin/env bash set -e IDS=$(adb devices -l | tail -n +2 | cut -d ' ' -f 1) ABIS=() for ID in ${IDS} do ABI=$(adb -s "$ID" shell getprop ro.product.cpu.abi) # Check if this ABI is already in ABIS found=false for e in "${ABIS[@]}"; do if [[ "${e}" == "${ABI}" ]]; then found=true break fi done - if [[ "$found" = "false" ]]; then + if [[ "$found" == "false" ]]; then ABIS+=("${ABI}") fi done echo "${ABIS[@]}"