aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build.rb
diff options
context:
space:
mode:
authorJack Nagel2014-09-14 11:18:55 -0500
committerJack Nagel2014-09-14 11:19:30 -0500
commitf3b7c3236bc7dc9516e67c780701ec5a0caae6c9 (patch)
tree3a33c341b2719101b367671ec4e69c40506d175c /Library/Homebrew/build.rb
parent976bb9b05725da843e51512f5a2d2b51633fe34d (diff)
downloadbrew-f3b7c3236bc7dc9516e67c780701ec5a0caae6c9.tar.bz2
Consistently call name on formula instead of relying on to_s
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