1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:14:43 -07:00

go.tools/ssa: fix windows build

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12320043
This commit is contained in:
Alex Brainman 2013-08-02 16:25:49 +10:00
parent 4ceda807d5
commit 4ff367ac3c

View File

@ -24,7 +24,7 @@ const debugMode = false
func allPackages() []string {
var pkgs []string
root := filepath.Join(runtime.GOROOT(), "src/pkg") + "/"
root := filepath.Join(runtime.GOROOT(), "src/pkg") + string(os.PathSeparator)
filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
// Prune the search if we encounter any of these names:
switch filepath.Base(path) {