diff options
author | Icarus Sparry <golang@icarus.freeuk.com> | 2010-01-26 13:15:59 -0800 |
---|---|---|
committer | Icarus Sparry <golang@icarus.freeuk.com> | 2010-01-26 13:15:59 -0800 |
commit | c7316136bf2cf1cdeb51c8da609fcc0a9ca07323 (patch) | |
tree | ce874312c2f7d608aa5e12b145748ab4c81cb553 | |
parent | a55690b8ea8cdc5f55b76a0a47e40a374f02ca6a (diff) | |
download | golang-c7316136bf2cf1cdeb51c8da609fcc0a9ca07323.tar.gz |
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
http://codereview.appspot.com/193066
Committer: Russ Cox <rsc@golang.org>
-rwxr-xr-x | src/cmd/gotest/gotest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index b97551309..e6e9f16f5 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -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) |