Fixed a couple of invalid checks

pull/813/head
Morgan Pretty 11 months ago
parent 715a5b583f
commit 2f05f3f3a2

@ -28,7 +28,7 @@ local load_cocoapods_cache = {
sleep 1 sleep 1
LOOP_BREAK=$((LOOP_BREAK + 1)) LOOP_BREAK=$((LOOP_BREAK + 1))
if [[ LOOP_BREAK >= 600 ]]; then if [[ $LOOP_BREAK -ge 600 ]]; then
rm -f /Users/drone/.cocoapods_cache.lock rm -f /Users/drone/.cocoapods_cache.lock
fi fi
done done
@ -53,7 +53,7 @@ local update_cocoapods_cache = {
sleep 1 sleep 1
LOOP_BREAK=$((LOOP_BREAK + 1)) LOOP_BREAK=$((LOOP_BREAK + 1))
if [[ LOOP_BREAK >= 600 ]]; then if [[ $LOOP_BREAK -ge 600 ]]; then
rm -f /Users/drone/.cocoapods_cache.lock rm -f /Users/drone/.cocoapods_cache.lock
fi fi
done done

Loading…
Cancel
Save