]> Cypherpunks repositories - gostls13.git/commit
cmd/go: install binaries in cmd/ in $GOROOT/bin instead of $GOBIN
authorJay Conrod <jayconrod@google.com>
Wed, 19 Jun 2019 21:25:27 +0000 (17:25 -0400)
committerJay Conrod <jayconrod@google.com>
Wed, 19 Jun 2019 23:17:25 +0000 (23:17 +0000)
commit71a6a44428feb844b9dd3c4c8e16be8dee2fd8fa
treefba3d5a121e8f47145d4fb790d97dbc397de6ad4
parent832959ffcc1d99f8364e75b02d433cb72de63fc1
cmd/go: install binaries in cmd/ in $GOROOT/bin instead of $GOBIN

This was caused by CL 167748, which removed a special case for command
line arguments starting with "cmd/". This CL restores the behavior
from go1.12.

Fixes #32674

Change-Id: I72180d11fb0261ef0af9632e512bd9c03481b6c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/183058
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/load/pkg.go
src/cmd/go/testdata/script/install_cmd_gobin.txt [new file with mode: 0644]