diff options
| author | Mike McQuaid | 2016-11-05 16:13:42 -0400 | 
|---|---|---|
| committer | Mike McQuaid | 2016-11-05 16:13:42 -0400 | 
| commit | 1f6c26a2e4b97ad90e6b8623df90daf4e07086a9 (patch) | |
| tree | fcbdbfbed341ca8fac189513873cc5cae1aa0c94 /Library/Homebrew/software_spec.rb | |
| parent | 3cef6a3a78fb9d300b6d7db4cf9a389c1af4ce8b (diff) | |
| download | brew-1f6c26a2e4b97ad90e6b8623df90daf4e07086a9.tar.bz2 | |
software_spec: no `_or_later` in bottle filenames.
It's more useful to be able to "bless" an existing bottle to be used on
later OSs (e.g. where it cannot yet be built) than it is to have to
create a new, identical bottle just to have a different filename.
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
| -rw-r--r-- | Library/Homebrew/software_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index bb432e2dd..f368c59b5 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -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 | 
