Bottle: handle legacy bottle OS tags.
Otherwise :mountainlion, :snowleopard in the history for CMake breaks bottle_filenames from versions for new CMake bottles.
This commit is contained in:
parent
fdc08424af
commit
42c9ecd665
@ -120,7 +120,7 @@ class Bottle < SoftwareSpec
|
||||
checksum_os_versions = send checksum_type
|
||||
next unless checksum_os_versions
|
||||
os_versions = checksum_os_versions.keys
|
||||
os_versions.map! {|osx| MacOS::Version.from_symbol osx }
|
||||
os_versions.map! {|osx| MacOS::Version.from_symbol osx rescue nil }
|
||||
os_versions.sort.reverse.each do |os_version|
|
||||
osx = os_version.to_sym
|
||||
checksum = checksum_os_versions[osx]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user