diff --git a/native/android/app/bash/detect_abis.sh b/native/android/app/bash/detect_abis.sh --- a/native/android/app/bash/detect_abis.sh +++ b/native/android/app/bash/detect_abis.sh @@ -9,10 +9,10 @@ do ABI=$(adb -s "$ID" shell getprop ro.product.cpu.abi) # check if we already have this ABI - if [[ " ${ABIS[*]} " =~ " ${ABI} " ]]; then + if [[ " ${ABIS[*]} " == " ${ABI} " ]]; then continue fi - ABIS+="${ABI} " + ABIS+=("${ABI} ") done -echo "$ABIS" +echo "${ABIS[@]}"