mirror of
https://github.com/golang/go
synced 2024-11-21 23:34:42 -07:00
make.bash: don't remove hgpatch
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5598046
This commit is contained in:
parent
d59c88786d
commit
2d6c011674
@ -27,13 +27,13 @@ mkdir -p "$GOROOT/pkg"
|
||||
|
||||
# Remove old, pre-go-tool binaries.
|
||||
rm -f "$GOROOT"/bin/[568][acgl]
|
||||
rm -f "$GOROOT"/bin/{6cov,6nm,cgo,ebnflint,goapi,gofix,goinstall,gomake,gopack,gopprof,gotest,gotype,govet,goyacc,hgpatch,quietgcc}
|
||||
rm -f "$GOROOT"/bin/{6cov,6nm,cgo,ebnflint,goapi,gofix,goinstall,gomake,gopack,gopprof,gotest,gotype,govet,goyacc,quietgcc}
|
||||
|
||||
# If GOBIN is set and it has a Go compiler, it must also be cleaned.
|
||||
if [ -n "GOBIN" ]; then
|
||||
if [ -x "$GOBIN"/5g -o -x "$GOBIN"/6g -o -x "$GOBIN"/8g ]; then
|
||||
rm -f "$GOBIN"/[568][acgl]
|
||||
rm -f "$GOBIN"/{6cov,6nm,cgo,ebnflint,goapi,gofix,goinstall,gomake,gopack,gopprof,gotest,gotype,govet,goyacc,hgpatch,quietgcc}
|
||||
rm -f "$GOBIN"/{6cov,6nm,cgo,ebnflint,goapi,gofix,goinstall,gomake,gopack,gopprof,gotest,gotype,govet,goyacc,quietgcc}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user