diff --git a/openshift/scripts/deploy-template.sh b/openshift/scripts/deploy-template.sh index a1e5837..1228ee0 100644 --- a/openshift/scripts/deploy-template.sh +++ b/openshift/scripts/deploy-template.sh @@ -69,7 +69,7 @@ WAIT_TIME=5 MIGRATE_STATUS_CMD="oc get job | findstr /i 'migrate-build-files 1/1'" until $MIGRATE_STATUS_CMD || [ $ATTEMPTS -eq 120 ]; do $MIGRATE_STATUS_CMD - ATTEMPTS=$(( ATTEMPTS++ )) + ATTEMPTS=$(( $ATTEMPTS + 1 )) echo "Waited: $(($ATTEMPTS * $WAIT_TIME)) seconds..." sleep $WAIT_TIME done