aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/build.rb')
-rw-r--r--Library/Homebrew/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index 90f2fc199..34903c9aa 100644
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -172,7 +172,7 @@ class Build
end
Keg.new(path).optlink
rescue StandardError
- raise "#{f.opt_prefix} not present or broken\nPlease reinstall #{f}. Sorry :("
+ raise "#{f.opt_prefix} not present or broken\nPlease reinstall #{f.name}. Sorry :("
end
end