From 9bc84bc286ee74d2f76a626e86409e17628869be Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sun, 11 Jan 2015 22:34:57 +0100 Subject: [PATCH] Fix download for older go binary version --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index f2c4899..206b970 100755 --- a/scripts/install +++ b/scripts/install @@ -181,8 +181,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://storage.googleapis.com" - GO_BINARY_URL="https://storage.googleapis.com/golang/${GO_BINARY_FILE}" + 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}" curl -s -f -L $GO_BINARY_URL > ${GO_BINARY_PATH}