Merge pull request #7414 from MikeMcQuaid/formula_installer_build_from_source

formula_installer: fix build_from_source? call.
This commit is contained in:
Mike McQuaid 2020-04-21 13:48:17 +01:00 committed by GitHub
commit b91699d1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ class FormulaInstaller
return false if !formula.bottled? && !formula.local_bottle_path
return true if force_bottle?
return false if Homebrew.args.build_from_source || build_bottle? || interactive?
return false if build_from_source? || build_bottle? || interactive?
return false if ARGV.cc
return false unless options.empty?
return false if formula.bottle_disabled?