diff options
| author | Adam Vandenberg | 2012-02-08 21:08:18 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-08 21:08:18 -0800 |
| commit | c42a6b6802456c47ac3e408723e8b303a5fb2ba4 (patch) | |
| tree | 202b407cb6674741f01f475fc92286274295b4e4 /Library | |
| parent | 0eb1cadee01f0412e2a08578045d0784f2f1c071 (diff) | |
| download | brew-c42a6b6802456c47ac3e408723e8b303a5fb2ba4.tar.bz2 | |
Pathname: support .tar.Z extension
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 1562bfbcd..6dcec05dd 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -64,7 +64,7 @@ class Pathname # extended to support common double extensions def extname - /(\.(tar|cpio)\.(gz|bz2|xz))$/.match to_s + /(\.(tar|cpio)\.(gz|bz2|xz|Z))$/.match to_s return $1 if $1 return File.extname(to_s) end |
