Skip to content

Commit

Permalink
Merge pull request #409 from Aelphy/master
Browse files Browse the repository at this point in the history
Update build.go
  • Loading branch information
therecipe committed Jul 28, 2017
2 parents 794d660 + 0989230 commit 8ca9dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/deploy/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func build(mode, target, path, ldFlagsCustom, tagsCustom, name, depPath string,
utils.RunCmd(cmd, fmt.Sprintf("build for %v on %v", target, runtime.GOOS))

if target == "darwin" {
strip := exec.Command("strip", out)
strip := exec.Command("strip", "-x", out)
strip.Dir = path
utils.RunCmd(strip, fmt.Sprintf("strip binary for %v on %v", target, runtime.GOOS))
}
Expand Down

0 comments on commit 8ca9dc8

Please sign in to comment.