]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clean the directory path containing the packages
authorMohit Agarwal <mohit@sdf.org>
Mon, 9 Nov 2015 19:26:14 +0000 (00:56 +0530)
committerIan Lance Taylor <iant@golang.org>
Mon, 9 Nov 2015 21:13:22 +0000 (21:13 +0000)
commita7d331b368cb4f16db7bc1919a82af878e382ba4
treec28daac22229abfaffb6c74219799d05301ed49a
parent0bad50f2a455c59fce1ab18567558ea4b847ea90
cmd/go: clean the directory path containing the packages

The heuristic for determining if the packages or commands are stale
fails as the mtime comparison happens even though the GOROOT and
current package paths are the same, since the path name isn't
canonicalized before the comparison (GOROOT is).

Fixes: #12690
Change-Id: Ia7d142fbbed8aac2bd2f71d1db4efd1f3ff5aece
Reviewed-on: https://go-review.googlesource.com/16483
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go
src/go/build/build.go