diff options
| author | Mike McQuaid | 2013-01-27 18:58:50 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-29 17:14:00 -0800 |
| commit | e9eac42daae4b0e6e7f3d2e91bf715770c6d054b (patch) | |
| tree | 72aacd921b840695579fee2456eccd5f07b5920a /Library/Homebrew/extend/pathname.rb | |
| parent | ed357d9847539b25b473bc52846ceadaec7eb75a (diff) | |
| download | homebrew-e9eac42daae4b0e6e7f3d2e91bf715770c6d054b.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) |
