aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-14 16:08:07 -0600
committerJack Nagel2013-11-14 16:20:25 -0600
commitdd06522815e5c92a9b5c20f05c934cfcebdbe21b (patch)
tree66c0d93988c4c7d62afee8eaf84d8f9189ca0d61 /Library
parent07b7abdc7af25677a895825fbeaa13bbfd221635 (diff)
downloadbrew-dd06522815e5c92a9b5c20f05c934cfcebdbe21b.tar.bz2
Recognized .pax.gz extension
Diffstat (limited to 'Library')
-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 f0b2c8285..ecccc00c6 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -141,7 +141,7 @@ class Pathname
def extname(path=to_s)
BOTTLE_EXTNAME_RX.match(path)
return $1 if $1
- /(\.(tar|cpio)\.(gz|bz2|xz|Z))$/.match(path)
+ /(\.(tar|cpio|pax)\.(gz|bz2|xz|Z))$/.match(path)
return $1 if $1
return File.extname(path)
end