formula_installer: fix build_from_source? call.
This should check the local instance variable rather than the global value as it varies for dependencies and requested formulae.
This commit is contained in:
parent
cc6ccc45cd
commit
b3a7ad7ca6
@ -97,7 +97,7 @@ class FormulaInstaller
|
|||||||
|
|
||||||
return false if !formula.bottled? && !formula.local_bottle_path
|
return false if !formula.bottled? && !formula.local_bottle_path
|
||||||
return true if force_bottle?
|
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 if ARGV.cc
|
||||||
return false unless options.empty?
|
return false unless options.empty?
|
||||||
return false if formula.bottle_disabled?
|
return false if formula.bottle_disabled?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user