commit | 6e87a0abc93d91db7ac38d1470d152fd02611c80 | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Mon Oct 25 16:38:48 2010 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Mon Oct 25 16:38:48 2010 +1100 |
tree | 6ca01c68140fb8c36d1f3bca6468f0ea50cbac1c | |
parent | 32a6613e94b4ff31df836dd0c9417717b65adfb1 [diff] [blame] |
build: only print "You need to add foo to PATH" when needed Fixes #1223. R=bradfitz CC=golang-dev https://golang.org/cl/2701041
diff --git a/src/make.bash b/src/make.bash index 0a0f494..11fa99b 100755 --- a/src/make.bash +++ b/src/make.bash
@@ -96,7 +96,7 @@ 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.' '***'