formula: fix variations not being generated for instance on_os usage
This commit is contained in:
parent
e986264a3e
commit
3e99873fa4
@ -2253,7 +2253,7 @@ class Formula
|
||||
|
||||
os_versions = [*MacOSVersion::SYMBOLS.keys, :linux]
|
||||
|
||||
if path.exist? && self.class.on_system_blocks_exist?
|
||||
if path.exist? && (self.class.on_system_blocks_exist? || @on_system_blocks_exist)
|
||||
formula_contents = path.read
|
||||
os_versions.product(OnSystem::ARCH_OPTIONS).each do |os, arch|
|
||||
bottle_tag = Utils::Bottles::Tag.new(system: os, arch: arch)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user