mirror of
https://github.com/golang/go
synced 2024-11-25 01:08:02 -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.
|
# Remove old, pre-go-tool binaries.
|
||||||
rm -f "$GOROOT"/bin/[568][acgl]
|
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 GOBIN is set and it has a Go compiler, it must also be cleaned.
|
||||||
if [ -n "GOBIN" ]; then
|
if [ -n "GOBIN" ]; then
|
||||||
if [ -x "$GOBIN"/5g -o -x "$GOBIN"/6g -o -x "$GOBIN"/8g ]; then
|
if [ -x "$GOBIN"/5g -o -x "$GOBIN"/6g -o -x "$GOBIN"/8g ]; then
|
||||||
rm -f "$GOBIN"/[568][acgl]
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user