aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaun Jackman2015-03-31 10:23:31 -0700
committerMike McQuaid2015-03-31 18:53:26 +0100
commit7f098d74d9f8aa9f5184fec1ac22b780b1668989 (patch)
treef4122ca6edceb441c0dc4e2bbd792f41af2e4bb4
parent56de37086dc470755851678d0a16f8977037825a (diff)
downloadhomebrew-7f098d74d9f8aa9f5184fec1ac22b780b1668989.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 #38235. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-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 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|