remove comments from script

This commit is contained in:
Matthieu 2020-03-31 09:17:40 +02:00
parent 3a44237b52
commit ee86bd532b
1 changed files with 1 additions and 3 deletions

View File

@ -7,12 +7,10 @@ set +e
bootanim="" bootanim=""
failcounter=0 failcounter=0
#timeout_in_sec=360 # 6 minutes
timeout_in_sec=600 # 10 minutes timeout_in_sec=600 # 10 minutes
until [[ "$bootanim" =~ "stopped" ]]; do until [[ "$bootanim" =~ "stopped" ]]; do
bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &` bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &`
#echo bootanim=\`$bootanim\`
if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline" if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline"
|| "$bootanim" =~ "running" || "$bootanim" =~ "error: no emulators found" ]]; then || "$bootanim" =~ "running" || "$bootanim" =~ "error: no emulators found" ]]; then
let "failcounter += 1" let "failcounter += 1"
@ -25,4 +23,4 @@ until [[ "$bootanim" =~ "stopped" ]]; do
sleep 1 sleep 1
done done
echo "Emulator is ready" echo "Emulator is ready"