aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorZhiming Wang2016-09-27 18:26:04 -0400
committerZhiming Wang2016-09-27 18:26:04 -0400
commitf28e5106c2ec48cf5f1cec49597b709a5dbb03d8 (patch)
tree77d0a05ddab9f9c4b797947567afe07cfe401a60 /Library
parent7e93340073106f9f5a4bef057823210fb432c064 (diff)
downloadbrew-f28e5106c2ec48cf5f1cec49597b709a5dbb03d8.tar.bz2
download_strategy: silence unzip and unrar
We silenced tar in 5e3a26b. It makes sense to make unzip and unrar output comparably succinct.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 5d296e275..4f2f1b6b0 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -224,7 +224,7 @@ class AbstractFileDownloadStrategy < AbstractDownloadStrategy
def stage
case cached_location.compression_type
when :zip
- with_system_path { quiet_safe_system "unzip", { quiet_flag: "-qq" }, cached_location }
+ with_system_path { quiet_safe_system "unzip", "-qq", cached_location }
chdir
when :gzip_only
with_system_path { buffered_write("gunzip") }
@@ -252,7 +252,7 @@ class AbstractFileDownloadStrategy < AbstractDownloadStrategy
when :xar
safe_system "/usr/bin/xar", "-xf", cached_location
when :rar
- quiet_safe_system "unrar", "x", { quiet_flag: "-inul" }, cached_location
+ quiet_safe_system "unrar", "x", "-inul", cached_location
when :p7zip
safe_system "7zr", "x", cached_location
else