remove early timeout from build script
This commit is contained in:
parent
aad2389939
commit
e3c468a1c0
11
ci/build.sh
11
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
|
||||
|
|
Loading…
Reference in New Issue