goenv icon indicating copy to clipboard operation
goenv copied to clipboard

Fix vercomp() in goenv-install, update download URLs.

Open Syncsecure opened this issue 11 years ago • 4 comments

The vercomp() function in libexec/goenv-install had a number of issues, most notably related to attempting installation of Go versions with three version numbers. Replaced the previous vercomp() with a slightly adapted version available from Stack Overflow (thanks to the user fgm).

The download URL for more recent versions of Go has also changed once again. In addition to this, the download URL for Go 1 differs from the URLs for all other versions of Go, which has been corrected (admittedly, in a hackish way).

I also took the liberty of amending the tag referenced in the installation section of README.md, as it erroneously refers to the non-existent 'v0.0.5' tag (if desired -- this was isolated to its own commit).

Syncsecure avatar Sep 08 '14 23:09 Syncsecure

:+1:

l8nite avatar Sep 21 '14 01:09 l8nite

:+1:

jszwedko avatar Sep 26 '14 23:09 jszwedko

:+1:

mdouchement avatar Oct 27 '14 21:10 mdouchement

:+1:

minimum2scp avatar Sep 12 '15 09:09 minimum2scp