1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-29 15:51:17 +00:00

Fix certificate issue on travis build

This commit is contained in:
Lode Hoste 2015-01-15 18:58:04 +01:00
parent 73a21a3c04
commit 76b1a3d085

View file

@ -15,7 +15,7 @@ if [ -z $GOROOT ] || [[ $(go version) != go\ version\ go1.4* ]] ; then
tmpgo='build/go'
if [ ! -f "$tmpgo/bin/go" ]; then
# Download GOLANG v1.4
wget -O go.src.tar.gz https://golang.org/dl/go1.4.src.tar.gz
wget -O go.src.tar.gz http://golang.org/dl/go1.4.src.tar.gz
sha1=$(sha1sum go.src.tar.gz)
if [ "$sha1" != "6a7d9bd90550ae1e164d7803b3e945dc8309252b go.src.tar.gz" ]; then
echo "go.src.tar.gz SHA1 checksum does not match!"