aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-05-03 20:40:04 -0700
committerAdam Vandenberg2012-05-03 20:40:04 -0700
commit32ea2e3ad0b8cc3b159a154983e7a5f0f8728a46 (patch)
tree15c53510f6e61d69e1f8a79fb9ddc00b71f82ea8 /Library
parent428781723b9612198b05b5fb30ce60622f363011 (diff)
downloadbrew-32ea2e3ad0b8cc3b159a154983e7a5f0f8728a46.tar.bz2
Don't unzip war files
Diffstat (limited to 'Library')
-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'