Reduce the number of things that trigger ARGV.build_from_source?
The newly generalized bottle implementation removes the need to defensively check for --devel, --HEAD, and others in this method.
This commit is contained in:
parent
7da459874f
commit
9bc8d0820e
@ -143,8 +143,7 @@ module HomebrewArgvExtension
|
|||||||
end
|
end
|
||||||
|
|
||||||
def build_from_source?
|
def build_from_source?
|
||||||
include? '--build-from-source' or !ENV['HOMEBREW_BUILD_FROM_SOURCE'].nil? \
|
include? '--build-from-source' or !ENV['HOMEBREW_BUILD_FROM_SOURCE'].nil?
|
||||||
or build_head? or build_devel? or build_universal?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def flag? flag
|
def flag? flag
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user