mirror of
https://github.com/golang/go
synced 2024-11-25 02:27:56 -07:00
misc/dist: fix glob pattern under windows
R=bradfitz CC=golang-dev https://golang.org/cl/5753066
This commit is contained in:
parent
243ac1613e
commit
7db4384354
2
misc/dist/bindist.go
vendored
2
misc/dist/bindist.go
vendored
@ -126,7 +126,7 @@ func (b *Build) Do() error {
|
||||
version string // "weekly.2012-03-04"
|
||||
fullVersion []byte // "weekly.2012-03-04 9353aa1efdf3"
|
||||
)
|
||||
pat := b.root + "/pkg/tool/*/dist"
|
||||
pat := filepath.Join(b.root, "pkg/tool/*/dist")
|
||||
m, err := filepath.Glob(pat)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user