mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
dashboard: auto-update builder.sh.
avoid possibility of busy loop pounding on dashboard. R=agl1 CC=golang-dev https://golang.org/cl/206051
This commit is contained in:
parent
c465331262
commit
c7d37e41b2
@ -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
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cd ../.. || fatal "Cannot cd up"
|
cd ../.. || fatal "Cannot cd up"
|
||||||
|
sleep 10
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user