Skip to content
Snippets Groups Projects
Commit ca2680d7 authored by Jack Nagel's avatar Jack Nagel
Browse files

Move some code to the pour method

parent b0f51ac7
No related branches found
No related tags found
No related merge requests found
......@@ -158,15 +158,6 @@ class FormulaInstaller
if pour_bottle? :warn => true
pour
@poured_bottle = true
CxxStdlib.check_compatibility(
f, f.recursive_dependencies,
Keg.new(f.prefix), MacOS.default_compiler
)
tab = Tab.for_keg f.prefix
tab.poured_from_bottle = true
tab.write
end
rescue => e
raise e if ARGV.homebrew_developer?
......@@ -628,6 +619,15 @@ class FormulaInstaller
path.cp_path_sub(f.bottle_prefix, HOMEBREW_PREFIX)
end
FileUtils.rm_rf f.bottle_prefix
CxxStdlib.check_compatibility(
f, f.recursive_dependencies,
Keg.new(f.prefix), MacOS.default_compiler
)
tab = Tab.for_keg(f.prefix)
tab.poured_from_bottle = true
tab.write
end
def audit_check_output(output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment