aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-07 18:18:28 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-07 18:18:28 +0800
commit328f0dd6314bb285a96faa7b33cf18419acd17c5 (patch)
treee13536e5d2fffd5b9ab7e011cb492fe3c14d508c /build
parent15c8d46b04366fe0b8c9a7def13ad0e57cb83142 (diff)
downloadgo-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar
go-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.gz
go-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.bz2
go-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.lz
go-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.xz
go-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.zst
go-tangerine-328f0dd6314bb285a96faa7b33cf18419acd17c5.zip
build: fix missing .exe executable names on cross builds
Diffstat (limited to 'build')
-rw-r--r--build/ci.go2
1 files changed, 1 insertions, 1 deletions
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