aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorShaun Jackman2014-09-26 12:57:13 -0700
committerMike McQuaid2015-03-31 15:07:46 +0100
commit1ad0de8660d0fe0326287059a7688acc42878a64 (patch)
tree9be10f65a2189e521511195131273e476b5adb6d /Library
parent30de8f0f749e02d47fedc9f54c278989eee9456c (diff)
downloadbrew-1ad0de8660d0fe0326287059a7688acc42878a64.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 Homebrew/homebrew#32687. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
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|