Build from source on bottle pour failure.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2013-02-18 07:28:06 +00:00
parent 360af367a8
commit 443bf9f287

View File

@ -92,9 +92,17 @@ class FormulaInstaller
@@attempted << f
poured_bottle = false
begin
if pour_bottle?
pour
else
poured_bottle = true
end
rescue
opoo "Bottle installation failed: building from source."
end
unless poured_bottle
build
clean
end