From 1f162dba6f2355f3d7f58b5bdd0194c4ccbcdc24 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 14 Sep 2014 11:18:55 -0500 Subject: Consistently call name on formula instead of relying on to_s --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd/install.rb') 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 -- cgit v1.2.3