aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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