From fa4242c3d71b0e26cb573e6b654738bc5a3ff9e0 Mon Sep 17 00:00:00 2001 From: Lode Hoste Date: Mon, 6 Apr 2015 14:55:21 +0200 Subject: [PATCH] Update golang to v1.4.2 --- build-syncthing.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-syncthing.sh b/build-syncthing.sh index 65315f41..d3024f87 100755 --- a/build-syncthing.sh +++ b/build-syncthing.sh @@ -14,10 +14,10 @@ if [ -z $GOROOT ] || [[ $(go version) != go\ version\ go1.4* ]] ; then mkdir -p "build" tmpgo='build/go' if [ ! -f "$tmpgo/bin/go" ]; then - # Download GOLANG v1.4 - wget -O go.src.tar.gz http://golang.org/dl/go1.4.src.tar.gz + # Download GOLANG v1.4.2 + wget -O go.src.tar.gz http://golang.org/dl/go1.4.2.src.tar.gz sha1=$(sha1sum go.src.tar.gz) - if [ "$sha1" != "6a7d9bd90550ae1e164d7803b3e945dc8309252b go.src.tar.gz" ]; then + if [ "$sha1" != "460caac03379f746c473814a65223397e9c9a2f6 go.src.tar.gz" ]; then echo "go.src.tar.gz SHA1 checksum does not match!" exit 1 fi