1
0
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:
Dmitriy Vyukov 2012-02-08 20:15:17 +04:00
parent 136f12f51f
commit bd37349485

View File

@ -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.