Commit 7db43843 authored by Andrew Gerrand's avatar Andrew Gerrand

misc/dist: fix glob pattern under windows

R=bradfitz
CC=golang-dev
https://golang.org/cl/5753066
parent 243ac161
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment