aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2012-05-03 20:40:04 -0700
committerAdam Vandenberg2012-05-03 20:40:04 -0700
commit0cc9a8fedc62ee6c12f4a8e84c3ea9c78c2503a3 (patch)
tree3203406e9be816ad7f985a44bdf16a50d4ce3693 /Library/Homebrew
parentc822a108d55103e22add8e07c4db25a821ba1d0c (diff)
downloadhomebrew-0cc9a8fedc62ee6c12f4a8e84c3ea9c78c2503a3.tar.bz2
Don't unzip war files
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/pathname.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index f17209fa0..98618be41 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -241,8 +241,9 @@ class Pathname
end
def compression_type
- # Don't treat jars as compressed
+ # Don't treat jars or wars as compressed
return nil if self.extname == '.jar'
+ return nil if self.extname == '.war'
# OS X installer package
return :pkg if self.extname == '.pkg'