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}