mirror of
https://github.com/golang/go
synced 2024-11-12 07:40:23 -07:00
cmd/dist: fix copying of cmd/prof
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5642059
This commit is contained in:
parent
136f12f51f
commit
bd37349485
2
src/cmd/dist/build.c
vendored
2
src/cmd/dist/build.c
vendored
@ -694,7 +694,7 @@ install(char *dir)
|
|||||||
// For cmd/prof, copy pprof into the tool directory.
|
// For cmd/prof, copy pprof into the tool directory.
|
||||||
if(streq(dir, "cmd/prof")) {
|
if(streq(dir, "cmd/prof")) {
|
||||||
copy(bpathf(&b, "%s/bin/tool/pprof", goroot),
|
copy(bpathf(&b, "%s/bin/tool/pprof", goroot),
|
||||||
bpathf(&b, "%s/src/cmd/prof/pprof", goroot));
|
bpathf(&b1, "%s/src/cmd/prof/pprof", goroot));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generate any missing files; regenerate existing ones.
|
// Generate any missing files; regenerate existing ones.
|
||||||
|
Loading…
Reference in New Issue
Block a user