diff options
| author | Shaun Jackman | 2014-09-26 12:57:13 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-31 15:07:46 +0100 |
| commit | 4e43dd0b94f6aa18c2e3a76a8b28ff18b56b1179 (patch) | |
| tree | e5d1dc9e525413784aea494438e175ffc7301272 /Library | |
| parent | 38f7b882c0202dd8534b8b3a1add188747688c85 (diff) | |
| download | homebrew-4e43dd0b94f6aa18c2e3a76a8b28ff18b56b1179.tar.bz2 | |
pathname: Add [-0-9] to BOTTLE_EXTNAME_RX
Change [a-z_]+(32)? to [-a-z0-9_]+
The Linuxbrew bottle tag is x86_64-linux.
Closes #32687.
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 f812e2076..33ccbfd1c 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-z_]+(32)?\.bottle\.(\d+\.)?tar\.gz)$/ + BOTTLE_EXTNAME_RX = /(\.[-a-z0-9_]+\.bottle\.(\d+\.)?tar\.gz)$/ def install *sources sources.each do |src| |
