diff --git a/native/android/app/bash/detect_abis.sh b/native/android/app/bash/detect_abis.sh index 3df627420..d0a97fdbd 100755 --- a/native/android/app/bash/detect_abis.sh +++ b/native/android/app/bash/detect_abis.sh @@ -1,18 +1,18 @@ #!/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)" + ABI=$(adb -s "$ID" shell getprop ro.product.cpu.abi) # check if we already have this ABI if [[ " ${ABIS[*]} " =~ " ${ABI} " ]]; then continue fi ABIS+="${ABI} " done -echo $ABIS +echo "$ABIS"