aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-08-24 20:00:33 -0400
committerRuss Cox <rsc@golang.org>2010-08-24 20:00:33 -0400
commitaafe474ec9af1e0e8677df3eac3ef2c92fb946e9 (patch)
tree27e90137da6cd68ddb193c7086290c35d80d0fd1 /src/make.bash
parent2100f57e0fcb75d67176a217f48a67609c5a12ef (diff)
downloadgo-aafe474ec9af1e0e8677df3eac3ef2c92fb946e9.tar.xz
build: $GOBIN defaults to $GOROOT/bin
R=r CC=golang-dev https://golang.org/cl/1982049
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash8
1 files changed, 6 insertions, 2 deletions
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