Fix scripts/make.go for darwin
Correctly locates the installed executable path for darwin
This commit is contained in:
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user