aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-02-22 15:59:11 +0000
committerMike McQuaid2015-02-22 15:59:11 +0000
commit04f89a94ba61a2151577b0a6862f178f786cdbb0 (patch)
tree1a7bc63543b418c26a7b964d6f9586c2c9164960 /Library
parenta9332cfeb4bf0b5dce20ec42e106986cb9346fd8 (diff)
downloadbrew-04f89a94ba61a2151577b0a6862f178f786cdbb0.tar.bz2
pull: run tap --repair when pulling tap formulae.
This should allow formulae to be found after they are pulled. Closes Homebrew/homebrew#37043.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/pull.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index eb9c64f87..9647ad195 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -94,6 +94,7 @@ module Homebrew
changed_formulae = []
if tap_dir
+ safe_system "brew", "tap", "--repair"
formula_dir = %w[Formula HomebrewFormula].find { |d| tap_dir.join(d).directory? } || ""
else
formula_dir = "Library/Formula"