diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-11-07 18:18:28 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-11-07 18:18:28 +0800 |
commit | 328f0dd6314bb285a96faa7b33cf18419acd17c5 (patch) | |
tree | e13536e5d2fffd5b9ab7e011cb492fe3c14d508c /build/ci.go | |
parent | 15c8d46b04366fe0b8c9a7def13ad0e57cb83142 (diff) | |
download | dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.gz dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.bz2 dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.lz dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.xz dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.tar.zst dexon-328f0dd6314bb285a96faa7b33cf18419acd17c5.zip |
build: fix missing .exe executable names on cross builds
Diffstat (limited to 'build/ci.go')
-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 |