Commit c7d37e41 authored by Russ Cox's avatar Russ Cox

dashboard: auto-update builder.sh.

avoid possibility of busy loop pounding on dashboard.

R=agl1
CC=golang-dev
https://golang.org/cl/206051
parent c4653312
...@@ -41,6 +41,9 @@ fi ...@@ -41,6 +41,9 @@ fi
if [ ! -d $GOROOT ]; then if [ ! -d $GOROOT ]; then
mkdir -p $GOROOT mkdir -p $GOROOT
hg clone https://go.googlecode.com/hg/ $GOROOT hg clone https://go.googlecode.com/hg/ $GOROOT
else
cd $GOROOT
hg pull -u || exit 1
fi fi
mkdir -p $GOROOT/bin mkdir -p $GOROOT/bin
......
...@@ -74,4 +74,5 @@ while true ; do ...@@ -74,4 +74,5 @@ while true ; do
fi fi
fi fi
cd ../.. || fatal "Cannot cd up" cd ../.. || fatal "Cannot cd up"
sleep 10
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment