diff options
| author | Mike McQuaid | 2013-01-27 18:58:50 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-29 17:14:00 -0800 |
| commit | 1107171f83ba4e6d32385613ca71f7614fc3a234 (patch) | |
| tree | b852152daffcbbe8de0402389facbd5ad1c61eed /Library/Homebrew/extend/pathname.rb | |
| parent | 92a5c765a985c1b9cee4704ff9965b6120b7df4e (diff) | |
| download | brew-1107171f83ba4e6d32385613ca71f7614fc3a234.tar.bz2 | |
Cleanup old bottle syntax.
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 3 |
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) |
