diff options
| author | Shaun Jackman | 2015-03-31 10:23:31 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-31 18:53:26 +0100 |
| commit | 6ca42964cb20a321be56180df9c568c1c016e84e (patch) | |
| tree | 1e61221b160c14b464103a9c2297c4a75b7f632b /Library | |
| parent | 1ad0de8660d0fe0326287059a7688acc42878a64 (diff) | |
| download | brew-6ca42964cb20a321be56180df9c568c1c016e84e.tar.bz2 | |
pathname: remove hyphen from BOTTLE_EXTNAME_RX
A hyphen is not a valid character in a Ruby symbol, and the bottle
tag should be a valid Ruby symbol for its use in the bottle stanza.
Closes Homebrew/homebrew#38235.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 33ccbfd1c..49adae2d1 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -7,7 +7,7 @@ require 'metafiles' class Pathname include MachO - BOTTLE_EXTNAME_RX = /(\.[-a-z0-9_]+\.bottle\.(\d+\.)?tar\.gz)$/ + BOTTLE_EXTNAME_RX = /(\.[a-z0-9_]+\.bottle\.(\d+\.)?tar\.gz)$/ def install *sources sources.each do |src| |
