1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:37:59 -07:00

misc/dist: fix glob pattern under windows

R=bradfitz
CC=golang-dev
https://golang.org/cl/5753066
This commit is contained in:
Andrew Gerrand 2012-03-07 13:34:01 +11:00
parent 243ac1613e
commit 7db4384354

View File

@ -126,7 +126,7 @@ func (b *Build) Do() error {
version string // "weekly.2012-03-04" version string // "weekly.2012-03-04"
fullVersion []byte // "weekly.2012-03-04 9353aa1efdf3" 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) m, err := filepath.Glob(pat)
if err != nil { if err != nil {
return err return err