remove early timeout from build script

This commit is contained in:
Cat Flynn 2021-03-11 20:35:31 +00:00
parent aad2389939
commit e3c468a1c0
1 changed files with 0 additions and 11 deletions

View File

@ -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