mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-17 11:25:34 -04:00
Merge pull request #3614 from kiwix/Fixes-#3613
Fix potential infinite loop in bash script
This commit is contained in:
commit
e693dd544a
@ -14,8 +14,8 @@ do
|
||||
adb logcat -c
|
||||
adb logcat ./*:E -v color &
|
||||
./gradlew clean
|
||||
retry=$(( $retry + 1 ))
|
||||
if [ $retry == 3 ]; then
|
||||
retry=$(( retry + 1 ))
|
||||
if [ $retry -eq 3 ]; then
|
||||
adb exec-out screencap -p >screencap.png
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user