Merge pull request #1446 from MikeMcQuaid/or_later_bottles_filename
software_spec: no `_or_later` in bottle filenames.
This commit is contained in:
commit
77a6878779
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user