mirror of
https://github.com/golang/go
synced 2024-11-25 17:27:58 -07:00
857d4cf1a9
This change removes the necessity to have GOBIN in $PATH, and also doesn't assume that the build is being run from $GOROOT/src. This is a minimal set of necessary changes to get Go to build happily from the FreeBSD ports collection. R=rsc CC=golang-dev https://golang.org/cl/171044
14 lines
375 B
Bash
14 lines
375 B
Bash
#!/usr/bin/env bash
|
|
# Copyright 2009 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
GOBIN="${GOBIN:-$HOME/bin}"
|
|
|
|
for i in cc 6l 6a 6c 8l 8a 8c 8g 5l 5a 5c 5g gc 6g gopack nm cgo cov ebnflint godefs godoc gofmt gotest goyacc hgpatch prof
|
|
do
|
|
cd $i
|
|
"$GOBIN"/gomake clean
|
|
cd ..
|
|
done
|