pull: backtrace when tap repair fails.

This commit is contained in:
Mike McQuaid 2015-02-23 13:25:06 +00:00
parent 7d99168192
commit c7363e2d03

View File

@ -94,7 +94,7 @@ module Homebrew
changed_formulae = [] changed_formulae = []
if tap_dir if tap_dir
system "brew", "tap", "--repair" safe_system "brew", "tap", "--repair", "--debug"
formula_dir = %w[Formula HomebrewFormula].find { |d| tap_dir.join(d).directory? } || "" formula_dir = %w[Formula HomebrewFormula].find { |d| tap_dir.join(d).directory? } || ""
else else
formula_dir = "Library/Formula" formula_dir = "Library/Formula"