aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.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/cmd/install.rb
parent976bb9b05725da843e51512f5a2d2b51633fe34d (diff)
downloadbrew-f3b7c3236bc7dc9516e67c780701ec5a0caae6c9.tar.bz2
Consistently call name on formula instead of relying on to_s
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index c8e0e9e42..94f9e3a78 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -29,7 +29,7 @@ module Homebrew
# Building head-only without --HEAD is an error
if not ARGV.build_head? and f.stable.nil?
raise CannotInstallFormulaError, <<-EOS.undent
- #{f} is a head-only formula
+ #{f.name} is a head-only formula
Install with `brew install --HEAD #{f.name}`
EOS
end