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
commit7395fb0231a8688fc102022f0bbc7840e80d0d72 (patch)
treeb0c0411d3c69ce3ab1151d96d345106468e00f64 /Library
parent45f47a5e73ab8f506231c30e42a753a0cb841832 (diff)
downloadhomebrew-7395fb0231a8688fc102022f0bbc7840e80d0d72.tar.bz2
pull: run tap --repair when pulling tap formulae.
This should allow formulae to be found after they are pulled. Closes #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"