summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcompiler-rt/lib/asan/scripts/asan_device_setup3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/scripts/asan_device_setup b/compiler-rt/lib/asan/scripts/asan_device_setup
index b36c85791fc..a620f51b083 100755
--- a/compiler-rt/lib/asan/scripts/asan_device_setup
+++ b/compiler-rt/lib/asan/scripts/asan_device_setup
@@ -90,9 +90,10 @@ echo '>> Remounting /system rw'
$ADB root
$ADB wait-for-device
$ADB remount
+$ADB wait-for-device
get_device_arch ARCH
-echo 'Target architecture: $ARCH'
+echo "Target architecture: $ARCH"
ASAN_RT="libclang_rt.asan-$ARCH-android.so"
if [[ x$revert == xyes ]]; then
OpenPOWER on IntegriCloud