diff options
| author | Mike McQuaid | 2016-09-28 10:05:48 +0100 |
|---|---|---|
| committer | GitHub | 2016-09-28 10:05:48 +0100 |
| commit | c1533e0ba4d52ede19708f7488371601ed898220 (patch) | |
| tree | ee18d5b663350b95f85857e92deed8a1cfe48c70 /Library | |
| parent | 8d563de78aec7f6eb73290e1c11dd115b54c4f9a (diff) | |
| parent | f28e5106c2ec48cf5f1cec49597b709a5dbb03d8 (diff) | |
| download | brew-c1533e0ba4d52ede19708f7488371601ed898220.tar.bz2 | |
Merge pull request #1174 from zmwangx/silence-unzip-and-unrar
download_strategy: silence unzip and unrar
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 4 |
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 |
