Use system tar for bottle TOC inspection

Closes Homebrew/homebrew#43717.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
chdiza 2015-09-08 16:21:12 -04:00 committed by Misty De Meo
parent 48ba192a3b
commit edbb3a9e53

View File

@ -39,7 +39,7 @@ def bottle_tag
end
def bottle_receipt_path(bottle_file)
Utils.popen_read("tar", "-tzf", bottle_file, "*/*/INSTALL_RECEIPT.json").chomp
Utils.popen_read("/usr/bin/tar", "-tzf", bottle_file, "*/*/INSTALL_RECEIPT.json").chomp
end
def bottle_resolve_formula_names(bottle_file)