mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Remove extra 'go' from download URL path
GO_BINARY_FILE already contains the full "go1.3..." path. Signed-off-by: Evan Owen <kainosnoema@gmail.com>
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ download_binary() {
|
||||
|
||||
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${GO_BINARY_FILE}"
|
||||
GO_BINARY_URL="https://go.googlecode.com/files/${GO_BINARY_FILE}"
|
||||
|
||||
curl -s -f -L $GO_BINARY_URL > ${GO_BINARY_PATH}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user