diff --git a/ci/build.sh b/ci/build.sh index db4329e..5444602 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -31,8 +31,6 @@ launch_unity () { launch_unity -tries=120 -count=0 while [ ! -f $editorlogpath ] do if ps -p $unitypid > /dev/null @@ -42,7 +40,6 @@ do echo "unity is no longer running - trying again" # reset launch attempts - count=0 launch_unity continue @@ -50,14 +47,6 @@ do # wait a second sleep 1 - - # decrement - count=`expr $count + 1` - - if [ $count -eq $tries ] ; then - echo "early timeout - $tries seconds elapsed since last launch attempt" - exit 1 - fi done # use a safe directory that is automatically removed by the shell when the script exists