mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Update golang to v1.4.2
This commit is contained in:
parent
23211edf56
commit
fa4242c3d7
1 changed files with 3 additions and 3 deletions
|
@ -14,10 +14,10 @@ if [ -z $GOROOT ] || [[ $(go version) != go\ version\ go1.4* ]] ; then
|
||||||
mkdir -p "build"
|
mkdir -p "build"
|
||||||
tmpgo='build/go'
|
tmpgo='build/go'
|
||||||
if [ ! -f "$tmpgo/bin/go" ]; then
|
if [ ! -f "$tmpgo/bin/go" ]; then
|
||||||
# Download GOLANG v1.4
|
# Download GOLANG v1.4.2
|
||||||
wget -O go.src.tar.gz http://golang.org/dl/go1.4.src.tar.gz
|
wget -O go.src.tar.gz http://golang.org/dl/go1.4.2.src.tar.gz
|
||||||
sha1=$(sha1sum go.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!"
|
echo "go.src.tar.gz SHA1 checksum does not match!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue