inconshreveable / gonative

Build Go Toolchains /w native libs for cross-compilation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distribution URL needs an update

iragsdale opened this issue · comments

The current URL does not work for versions > 1.2.1 (fails for both 1.2.2 and 1.3beta1). This change seems to fix:

-const distUrl = "https://go.googlecode.com/files/go%s.%s.tar.gz"
+const distUrl = "https://storage.googleapis.com/golang/go%s.%s.tar.gz"

Awesome, submit a pull request and I'll happily accept it

Hmm, looks like it needs to be smart enough to choose the new URL only for newer versions, the older versions still seem to need the old URL. Don't think I have any more time to spend on this today, will see if I can submit something soon.