remove comments from script
This commit is contained in:
parent
3a44237b52
commit
ee86bd532b
|
@ -7,12 +7,10 @@ set +e
|
|||
|
||||
bootanim=""
|
||||
failcounter=0
|
||||
#timeout_in_sec=360 # 6 minutes
|
||||
timeout_in_sec=600 # 10 minutes
|
||||
|
||||
until [[ "$bootanim" =~ "stopped" ]]; do
|
||||
bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &`
|
||||
#echo bootanim=\`$bootanim\`
|
||||
if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline"
|
||||
|| "$bootanim" =~ "running" || "$bootanim" =~ "error: no emulators found" ]]; then
|
||||
let "failcounter += 1"
|
||||
|
@ -25,4 +23,4 @@ until [[ "$bootanim" =~ "stopped" ]]; do
|
|||
sleep 1
|
||||
done
|
||||
|
||||
echo "Emulator is ready"
|
||||
echo "Emulator is ready"
|
||||
|
|
Loading…
Reference in New Issue