From 328f0dd6314bb285a96faa7b33cf18419acd17c5 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Mon, 7 Nov 2016 12:18:28 +0200 Subject: build: fix missing .exe executable names on cross builds --- build/ci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/ci.go') diff --git a/build/ci.go b/build/ci.go index f3882a1e7..2c6e918a6 100644 --- a/build/ci.go +++ b/build/ci.go @@ -182,7 +182,7 @@ func doInstall(cmdline []string) { if name == "main" { gobuild := goToolArch(*arch, "build", buildFlags(env)...) gobuild.Args = append(gobuild.Args, "-v") - gobuild.Args = append(gobuild.Args, []string{"-o", filepath.Join(GOBIN, cmd.Name())}...) + gobuild.Args = append(gobuild.Args, []string{"-o", executablePath(cmd.Name())}...) gobuild.Args = append(gobuild.Args, "."+string(filepath.Separator)+filepath.Join("cmd", cmd.Name())) build.MustRun(gobuild) break -- cgit