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:
parent
4ceda807d5
commit
4ff367ac3c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user