mage: don't append environ here

This commit is contained in:
Cadey Ratio 2017-09-30 07:43:50 -07:00
parent 0ada04df8c
commit 4178527b9b
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func Build() {
os.Mkdir(filepath.Join(d, goos), 0777)
for _, pkg := range []string{"route-httpagent", "route", "routed"} {
goBuild(ctx, append(os.Environ(), "GOOS="+goos), filepath.Join(d, goos), "cmd/"+pkg)
goBuild(ctx, []string{"GOOS=" + goos}, filepath.Join(d, goos), "cmd/"+pkg)
qod.Printlnf("built binary for %s for os %s", pkg, goos)
}
}