Skip to content

Commit

Permalink
Merge pull request moovweb#228 from kjakka/master
Browse files Browse the repository at this point in the history
uses the new url for alternate binary downloads
  • Loading branch information
voxxit authored Jul 13, 2018
2 parents c4cd319 + 7987e4e commit 3a4ab5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ download_binary() {
curl -s -f -L $GO_BINARY_URL > ${GO_BINARY_PATH}

if [[ $? -ne 0 ]]; then
display_error "Failed to download binary go from http://golang.org. Trying https://go.googlecode.com"
GO_BINARY_URL="https://go.googlecode.com/files/${GO_BINARY_FILE}"
display_error "Failed to download binary go from http://golang.org. Trying https://storage.googleapis.com"
GO_BINARY_URL="https://storage.googleapis.com/golang/${GO_BINARY_FILE}"

curl -s -f -L $GO_BINARY_URL > ${GO_BINARY_PATH}

Expand Down

0 comments on commit 3a4ab5f

Please sign in to comment.