aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-07 18:37:35 +0800
committerGitHub <noreply@github.com>2016-11-07 18:37:35 +0800
commit7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718 (patch)
tree38ffaac4b6ad1e98521b267b0f702f2452890699
parente0e18f3841ae3df1f490a60ec98ce96b0690e8d3 (diff)
parent328f0dd6314bb285a96faa7b33cf18419acd17c5 (diff)
downloadgo-tangerine-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.gz
go-tangerine-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.zst
go-tangerine-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.zip
Merge pull request #3239 from karalabe/fix-windows-separators
build: fix missing .exe executable names on cross builds
-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