formula_installer: make "linking" more clear
When building software "linking step did not complete" sounds like ld failed. Let's be clear about this. Closes Homebrew/homebrew#14407. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
		
							parent
							
								
									c350fad07e
								
							
						
					
					
						commit
						537de9c046
					
				@ -264,9 +264,9 @@ class FormulaInstaller
 | 
			
		||||
    keg = Keg.new(f.prefix)
 | 
			
		||||
    keg.link
 | 
			
		||||
  rescue Exception => e
 | 
			
		||||
    onoe "The linking step did not complete successfully"
 | 
			
		||||
    puts "The formula built, but is not symlinked into #{HOMEBREW_PREFIX}"
 | 
			
		||||
    puts "You can try again using `brew link #{f.name}'"
 | 
			
		||||
    onoe "The `brew link` step did not complete successfully."
 | 
			
		||||
    puts "The formula built, but is not symlinked into #{HOMEBREW_PREFIX}."
 | 
			
		||||
    puts "You can try again using `brew link #{f.name}`."
 | 
			
		||||
    keg.unlink
 | 
			
		||||
 | 
			
		||||
    ohai e, e.backtrace if ARGV.debug?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user