From 4e43dd0b94f6aa18c2e3a76a8b28ff18b56b1179 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Fri, 26 Sep 2014 12:57:13 -0700 Subject: 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 --- Library/Homebrew/extend/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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| -- cgit v1.2.3