summaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-01-31 10:38:07 -0500
committerRuss Cox <rsc@golang.org>2012-01-31 10:38:07 -0500
commita741c9c67628d4a2991aef55cb5d90a6b5129638 (patch)
treed11e3ab88cc1ff958bb0864aca8928bcacfeeaa9 /src/make.bash
parent83e4b40ecd79437b79deb9a80076eb598db7ac1c (diff)
downloadgo-a741c9c67628d4a2991aef55cb5d90a6b5129638.tar.gz
build: move goapi, quietgcc, cgo, gotype, ebnflint into go-tool
R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5552054
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/make.bash b/src/make.bash
index 2fdcb3b24..fafd843e0 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -44,10 +44,11 @@ export MAKEFLAGS
unset CDPATH # in case user has it set
rm -f "$GOBIN"/quietgcc
+rm -f "$GOROOT/bin/go-tool/quietgcc"
CC=${CC:-gcc}
export CC
-sed -e "s|@CC@|$CC|" < "$GOROOT"/src/quietgcc.bash > "$GOBIN"/quietgcc
-chmod +x "$GOBIN"/quietgcc
+sed -e "s|@CC@|$CC|" < "$GOROOT"/src/quietgcc.bash > "$GOROOT"/bin/go-tool/quietgcc
+chmod +x "$GOROOT"/bin/go-tool/quietgcc
export GOMAKE="$GOROOT"/bin/go-tool/make
rm -f "$GOBIN"/gomake