Skip to content

Commit

Permalink
Merge pull request v2fly#131 from Loyalsoldier/protoc-dont-relay-on-G…
Browse files Browse the repository at this point in the history
…OPATH

Protoc: do NOT rely on GOPATH
  • Loading branch information
RPRX authored Aug 26, 2020
2 parents e97b9b5 + 4fbefc1 commit 5774add
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/vprotogen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
)

var protocMap = map[string]string{
"windows": filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", ".dev", "protoc", "windows", "protoc.exe"),
"darwin": filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", ".dev", "protoc", "macos", "protoc"),
"linux": filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", ".dev", "protoc", "linux", "protoc"),
"windows": filepath.Join(".dev", "protoc", "windows", "protoc.exe"),
"darwin": filepath.Join(".dev", "protoc", "macos", "protoc"),
"linux": filepath.Join(".dev", "protoc", "linux", "protoc"),
}

var (
Expand Down

0 comments on commit 5774add

Please sign in to comment.