diff --git a/scripts/make.go b/scripts/make.go index f730000bb052f698e8fad97cfd04f57607c327b0..960aa84f5d60e999d62002efda9db5f94eb57185 100644 --- a/scripts/make.go +++ b/scripts/make.go @@ -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 {