Merge pull request #1446 from MikeMcQuaid/or_later_bottles_filename

software_spec: no `_or_later` in bottle filenames.
This commit is contained in:
Mike McQuaid 2016-11-06 08:20:27 -05:00 committed by GitHub
commit 77a6878779
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@ module Utils
# Allows a bottle tag to specify a specific OS or later,
# so the same bottle can target multiple OSs.
# Not used in core, used in taps.
def find_or_later_tag(tag)
begin
tag_version = MacOS::Version.from_symbol(tag)

View File

@ -221,7 +221,7 @@ class Bottle
def initialize(name, version, tag, rebuild)
@name = name
@version = version
@tag = tag
@tag = tag.to_s.gsub(/_or_later$/, "")
@rebuild = rebuild
end