mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
Fix scripts/make.go for darwin
Correctly locates the installed executable path for darwin
This commit is contained in:
committed by
Derek Parker
parent
50419b61da
commit
4e9ba9a7b5
@ -180,7 +180,7 @@ func installedExecutablePath() string {
|
||||
return filepath.Join(gobin, "dlv")
|
||||
}
|
||||
gopath := strings.Split(getoutput("go", "env", "GOPATH"), ":")
|
||||
return filepath.Join(gopath[0], "dlv")
|
||||
return filepath.Join(strings.TrimSpace(gopath[0]), "bin", "dlv")
|
||||
}
|
||||
|
||||
func buildFlags() []string {
|
||||
|
||||
Reference in New Issue
Block a user