1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:34:42 -07:00

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

Fixes #1223.

R=bradfitz
CC=golang-dev
https://golang.org/cl/2701041
This commit is contained in:
Andrew Gerrand 2010-10-25 16:38:48 +11:00
parent 32a6613e94
commit 6e87a0abc9

View File

@ -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.' '***'