From 1ad0de8660d0fe0326287059a7688acc42878a64 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Fri, 26 Sep 2014 12:57:13 -0700 Subject: [PATCH] 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 --- Library/Homebrew/extend/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index f812e20766..33ccbfd1c3 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|