From fbf1af24d79d475531ac39754c1c1f2284c1ada8 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Wed, 27 May 2015 20:44:51 +0800 Subject: [PATCH] bottle: use Formula#full_name --- Library/Homebrew/cmd/bottle.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index ba397c59e9..51df4ec05d 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -114,21 +114,21 @@ module Homebrew def bottle_formula f unless f.installed? - return ofail "Formula not installed or up-to-date: #{f.name}" + return ofail "Formula not installed or up-to-date: #{f.full_name}" end unless built_as_bottle? f - return ofail "Formula not installed with '--build-bottle': #{f.name}" + return ofail "Formula not installed with '--build-bottle': #{f.full_name}" end unless f.stable - return ofail "Formula has no stable version: #{f.name}" + return ofail "Formula has no stable version: #{f.full_name}" end if ARGV.include? '--no-revision' bottle_revision = 0 else - ohai "Determining #{f.name} bottle revision..." + ohai "Determining #{f.full_name} bottle revision..." versions = FormulaVersions.new(f) bottle_revisions = versions.bottle_version_map("origin/master")[f.pkg_version] bottle_revisions.pop if bottle_revisions.last.to_i > 0