From aafe474ec9af1e0e8677df3eac3ef2c92fb946e9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 24 Aug 2010 20:00:33 -0400 Subject: build: $GOBIN defaults to $GOROOT/bin R=r CC=golang-dev https://golang.org/cl/1982049 --- src/make.bash | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/make.bash') diff --git a/src/make.bash b/src/make.bash index 6124dbfb79..923c062baa 100755 --- a/src/make.bash +++ b/src/make.bash @@ -11,8 +11,6 @@ fi . ./env.bash GOROOT_FINAL=${GOROOT_FINAL:-$GOROOT} -rm -f Make.inc -sed 's!@@GOROOT@@!'"$GOROOT_FINAL"'!' Make.inc.in >Make.inc MAKEFLAGS=${MAKEFLAGS:-"-j4"} export MAKEFLAGS @@ -90,6 +88,12 @@ installed() { echo --- echo Installed Go for $GOOS/$GOARCH in "$GOROOT". echo Installed commands in "$GOBIN". + case "$OLDPATH" in + *":$GOBIN" | *":$GOBIN:"*) + ;; + *) + echo '***' You need to add $GOBIN to your "'$PATH.' '***' + esac echo The compiler is $GC. if [ "$(uname)" = "Darwin" ]; then echo -- cgit v1.3-5-g9baa