diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-11-07 18:37:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 18:37:35 +0800 |
commit | 7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718 (patch) | |
tree | 38ffaac4b6ad1e98521b267b0f702f2452890699 | |
parent | e0e18f3841ae3df1f490a60ec98ce96b0690e8d3 (diff) | |
parent | 328f0dd6314bb285a96faa7b33cf18419acd17c5 (diff) | |
download | dexon-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar dexon-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.gz dexon-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.bz2 dexon-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.lz dexon-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.xz dexon-7e8ad6cad30bbe2dcb837528d1bc6cff4e6fe718.tar.zst dexon-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.go | 2 |
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 |