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:
samueljohn 2012-08-23 11:22:28 +02:00 committed by Adam Vandenberg
parent c350fad07e
commit 537de9c046

View File

@ -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?