Skip to content

cmd/go: go get fails when GOPATH dir is relative #11234

Closed
@techtonik

Description

@techtonik

When I specify GOPATH as relative to current dir, the go get command fails.

From https://github.com/syncthing/syncthing-cli/issues/12

$ mkdir .go
$ GOPATH=.go go get github.com/syncthing/syncthing-cli  
# github.com/AudriusButkevicius/cli
open .go/src/github.com/AudriusButkevicius/cli/app.go: No such file or directory
...
$ go version
go version go1.2.1 linux/amd64

I am using Ubuntu 14.04 packaged Go. http://packages.ubuntu.com/trusty/devel/golang-go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions