diff options
| author | Xu Cheng | 2015-05-27 21:10:39 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-05-29 17:02:22 +0800 |
| commit | f47a4dac7574abf784117de44b9ed05b339289e3 (patch) | |
| tree | 4b76432822ac0c31e4328971b29c59d58a51f1e8 /Library/Homebrew/cmd/pull.rb | |
| parent | cb73e38cfc81c03f1d9cea528c5ce8f8cd20792c (diff) | |
| download | brew-f47a4dac7574abf784117de44b9ed05b339289e3.tar.bz2 | |
pull: use Formula#full_name
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 9eeabe135..c321941b8 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -125,7 +125,7 @@ module Homebrew unless ARGV.include? '--bottle' changed_formulae.each do |f| next unless f.bottle - opoo "#{f.name} has a bottle: do you need to update it with --bottle?" + opoo "#{f.full_name} has a bottle: do you need to update it with --bottle?" end end @@ -180,7 +180,7 @@ module Homebrew "https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish" puts sleep 2 - safe_system "brew", "fetch", "--retry", "--force-bottle", f.name + safe_system "brew", "fetch", "--retry", "--force-bottle", f.full_name end else opoo "You must set BINTRAY_USER and BINTRAY_KEY to add or update bottles on Bintray!" @@ -192,9 +192,9 @@ module Homebrew if ARGV.include? '--install' changed_formulae.each do |f| - ohai "Installing #{f.name}" + ohai "Installing #{f.full_name}" install = f.installed? ? 'upgrade' : 'install' - safe_system 'brew', install, '--debug', f.name + safe_system 'brew', install, '--debug', f.full_name end end end |
