diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 513efdbafe..a08261c978 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -392,10 +392,9 @@ class BottleSpecification def checksums tags = collector.keys.sort_by do |tag| - # Sort non-MacOS tags below MacOS tags. - - OS::Mac::Version.from_symbol tag + "#{OS::Mac::Version.from_symbol(tag)}_#{tag}" rescue MacOSVersionError + # Sort non-MacOS tags below MacOS tags. "0.#{tag}" end checksums = {}