Commit 6e87a0ab authored by Andrew Gerrand's avatar Andrew Gerrand

build: only print "You need to add foo to PATH" when needed

Fixes #1223.

R=bradfitz
CC=golang-dev
https://golang.org/cl/2701041
parent 32a6613e
......@@ -96,7 +96,7 @@ installed() {
echo Installed Go for $GOOS/$GOARCH in "$GOROOT".
echo Installed commands in "$GOBIN".
case "$OLDPATH" in
*":$GOBIN" | *":$GOBIN:"*)
"$GOBIN:"* | *":$GOBIN" | *":$GOBIN:"*)
;;
*)
echo '***' "You need to add $GOBIN to your "'$PATH.' '***'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment