diff options
| author | Martin Afanasjew | 2016-06-20 19:58:20 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-06-21 15:26:54 +0200 |
| commit | 6dc72f2679208f34d9d09f547dda5a2ba0714a9f (patch) | |
| tree | 1474ff68b11abe782d3294f30fe042f634a1cb67 /Library | |
| parent | 3b3da02cf35103d490459508aaa827b7995aa0c6 (diff) | |
| download | brew-6dc72f2679208f34d9d09f547dda5a2ba0714a9f.tar.bz2 | |
boneyard-formula-pr: relax hub requirement
Don't force installation of the `hub` formula if it can be found in the
search path. (Avoids unnecessary installation when switching between
multiple Homebrew installations for different tasks.)
Closes #384.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/boneyard-formula-pr.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb b/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb index f41511700..c55795619 100644 --- a/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/boneyard-formula-pr.rb @@ -60,7 +60,7 @@ module Homebrew tap_migrations = tap_migrations.sort.inject({}) { |a, e| a.merge!(e[0] => e[1]) } tap_migrations_path.atomic_write(JSON.pretty_generate(tap_migrations) + "\n") end - unless Formula["hub"].any_version_installed? || local_only + unless which("hub") || local_only if ARGV.dry_run? puts "brew install hub" else |
