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