aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-01-27 18:58:50 +0000
committerMike McQuaid2013-01-29 17:14:00 -0800
commit1107171f83ba4e6d32385613ca71f7614fc3a234 (patch)
treeb852152daffcbbe8de0402389facbd5ad1c61eed /Library/Homebrew/extend/pathname.rb
parent92a5c765a985c1b9cee4704ff9965b6120b7df4e (diff)
downloadbrew-1107171f83ba4e6d32385613ca71f7614fc3a234.tar.bz2
Cleanup old bottle syntax.
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
-rw-r--r--Library/Homebrew/extend/pathname.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index ae64df0c1..49aa52c04 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -6,7 +6,6 @@ class Pathname
include MachO
BOTTLE_EXTNAME_RX = /(\.[a-z]+\.bottle\.(\d+\.)?tar\.gz)$/
- OLD_BOTTLE_EXTNAME_RX = /((\.[a-z]+)?[\.-]bottle\.tar\.gz)$/
def install *sources
results = []
@@ -126,8 +125,6 @@ class Pathname
def extname
BOTTLE_EXTNAME_RX.match to_s
return $1 if $1
- OLD_BOTTLE_EXTNAME_RX.match to_s
- return $1 if $1
/(\.(tar|cpio)\.(gz|bz2|xz|Z))$/.match to_s
return $1 if $1
return File.extname(to_s)