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 {
|
func allPackages() []string {
|
||||||
var pkgs []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 {
|
filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
|
||||||
// Prune the search if we encounter any of these names:
|
// Prune the search if we encounter any of these names:
|
||||||
switch filepath.Base(path) {
|
switch filepath.Base(path) {
|
||||||
|
|
Loading…
Reference in New Issue