gvm icon indicating copy to clipboard operation
gvm copied to clipboard

gvm use system setting GOROOT incorrectly

Open malins opened this issue 10 months ago • 0 comments

Hello!

gvm use system sets GOROOT incorrectly (enclosed in single quotes).

$ go version
go version go1.23.6 linux/amd64

$ which go
/usr/bin/go

$ gvm use go1.24
Now using version go1.24

$ go version
go version go1.24.0 linux/amd64

$ gvm use system
Now using version system

$ echo $GOROOT
'/usr/lib/go-1.23'

$ go version
go: cannot find GOROOT directory: '/usr/lib/go-1.23'

Using latest version of gvm on Ubuntu 24.04 / Bash.

There are no go-related things in my bashrc, only sourceing of gvm.

malins avatar Feb 14 '25 12:02 malins