mirror of
https://github.com/golang/go
synced 2024-11-21 23:44:39 -07:00
gotest still assumes that gopack is in your PATH
If your $PATH does not include $GOBIN then the build fails at the first *.a file, which is probably when running the tests for tar R=rsc CC=golang-dev https://golang.org/cl/193066
This commit is contained in:
parent
2e688e1ba0
commit
7c1841fb2a
@ -119,7 +119,7 @@ nmgrep() {
|
||||
# Figure out pkg.
|
||||
case "$i" in
|
||||
*.a)
|
||||
pkg=$(gopack p $i __.PKGDEF | sed -n 's/^package //p' | sed 1q)
|
||||
pkg=$("$GOBIN"/gopack p $i __.PKGDEF | sed -n 's/^package //p' | sed 1q)
|
||||
;;
|
||||
*)
|
||||
pkg=$(sed -n 's/^ .* in package "\(.*\)".*/\1/p' $i | sed 1q)
|
||||
|
Loading…
Reference in New Issue
Block a user