From 8b57a925332e408ede12c2a23b93c776f3650bcd Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 2 Dec 2017 15:59:27 -0800 Subject: [PATCH] mage: mkdirall --- mage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mage.go b/mage.go index 85be291..e350fa5 100644 --- a/mage.go +++ b/mage.go @@ -94,7 +94,7 @@ func buildBins(goos, goarch string) { d := filepath.Join(wd, "./bin") - os.Mkdir(filepath.Join(d, goos, goarch), 0777) + os.MkdirAll(filepath.Join(d, goos, goarch), 0777) for _, pkg := range []string{"route-httpagent", "route-cli", "routed", "terraform-provider-route"} { env := []string{"GOOS=" + goos, "GOARCH=" + goarch}