andrewkroh / gvm

Go Version Manager (written in Go for cross-platform usability)
Apache License 2.0
186 stars 24 forks source link

Avoid using file rename #2

Closed andrewkroh closed 7 years ago

andrewkroh commented 7 years ago

Changed code to extract the Go distribution directly into HOME instead of extracting to a temp dir and then moving to HOME. On some systems using os.Rename (move) across devices resulted in EXDEV (invalid cross-device link).

Fixes #1