aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-05-27 20:44:51 +0800
committerXu Cheng2015-05-29 17:02:22 +0800
commitfbf1af24d79d475531ac39754c1c1f2284c1ada8 (patch)
treec4777cc56f8facfceb7d60f5a101aa0f7da3b1ae /Library
parent9bf4bf5fee4f32ece221eba21b24cd532bbdd748 (diff)
downloadbrew-fbf1af24d79d475531ac39754c1c1f2284c1ada8.tar.bz2
bottle: use Formula#full_name
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index ba397c59e..51df4ec05 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