aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2017-05-31 08:23:31 -0700
committerGitHub2017-05-31 08:23:31 -0700
commitf9e8d8430154e3480d5255e35b802a46f9168b5a (patch)
tree14bf38f815db5fc30c3d1e26dfb0a18d4e536540
parent17650628b36ba52b7e4c56be5721f5bfc126e1bb (diff)
parent0c1186f47fd4ee1b9cde6a00125a1835e083478c (diff)
downloadbrew-f9e8d8430154e3480d5255e35b802a46f9168b5a.tar.bz2
Merge pull request #2697 from mistydemeo/cask_fix_cabextract
cabextract: WARNING lines aren't fatal
-rw-r--r--Library/Homebrew/cask/lib/hbc/container/cab.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/container/cab.rb b/Library/Homebrew/cask/lib/hbc/container/cab.rb
index b3cf01452..010fccbc4 100644
--- a/Library/Homebrew/cask/lib/hbc/container/cab.rb
+++ b/Library/Homebrew/cask/lib/hbc/container/cab.rb
@@ -6,11 +6,7 @@ module Hbc
class Container
class Cab < Base
def self.me?(criteria)
- cabextract = which("cabextract")
-
- criteria.magic_number(/^(MSCF|MZ)/n) &&
- !cabextract.nil? &&
- criteria.command.run(cabextract, args: ["-t", "--", criteria.path.to_s]).stderr.empty?
+ criteria.magic_number(/^(MSCF|MZ)/n)
end
def extract