From: Dmitriy Vyukov Date: Wed, 8 Feb 2012 16:15:17 +0000 (+0400) Subject: cmd/dist: fix copying of cmd/prof X-Git-Tag: weekly.2012-02-14~218 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bd373494856fc5da371b2ebf4f3b7e1f621b01bd;p=gostls13.git cmd/dist: fix copying of cmd/prof R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5642059 --- diff --git a/src/cmd/dist/build.c b/src/cmd/dist/build.c index 6aed1b4359..d229fe65c8 100644 --- a/src/cmd/dist/build.c +++ b/src/cmd/dist/build.c @@ -694,7 +694,7 @@ install(char *dir) // For cmd/prof, copy pprof into the tool directory. if(streq(dir, "cmd/prof")) { 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.