From 4178527b9be10a323b32a4056b9a4646b3d062f1 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 30 Sep 2017 07:43:50 -0700 Subject: [PATCH] mage: don't append environ here --- mage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mage.go b/mage.go index fe19219..620e678 100644 --- a/mage.go +++ b/mage.go @@ -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) } }