pull: run tap --repair when pulling tap formulae.
This should allow formulae to be found after they are pulled. Closes Homebrew/homebrew#37043.
This commit is contained in:
parent
a9332cfeb4
commit
04f89a94ba
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user