From e3c468a1c0971a787334e871a9148f5dbbb16e3c Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Thu, 11 Mar 2021 20:35:31 +0000 Subject: [PATCH] remove early timeout from build script --- ci/build.sh | 11 ----------- 1 file changed, 11 deletions(-) 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