download_strategy: never verbosely untar

The verbose mode of tar is too pointlessly verbose.
This commit is contained in:
Zhiming Wang 2016-09-24 19:53:43 -04:00
parent 03e568e8ce
commit 5e3a26bfe0
No known key found for this signature in database
GPG Key ID: BBD31D4D110044B8

View File

@ -231,8 +231,7 @@ class AbstractFileDownloadStrategy < AbstractDownloadStrategy
when :bzip2_only
with_system_path { buffered_write("bunzip2") }
when :gzip, :bzip2, :compress, :tar
# Assume these are also tarred
tar_flags = ARGV.verbose? && ENV["TRAVIS"].nil? ? "xv" : "x"
tar_flags = "x"
# Older versions of tar require an explicit format flag
if cached_location.compression_type == :gzip
tar_flags << "z"