mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
7z does not accept gzip's options
e.g. `GZIP=-9`
This commit is contained in:
parent
c52d38b7b6
commit
a8b310e14c
1 changed files with 1 additions and 2 deletions
|
@ -58,8 +58,7 @@ PACKAGES = {
|
|||
if system("7z", out: IO::NULL)
|
||||
PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so"
|
||||
PACKAGES["zip"] = %w".zip 7z a -tzip -mx" << {out: IO::NULL}
|
||||
end
|
||||
if gzip = ENV.delete("GZIP")
|
||||
elsif gzip = ENV.delete("GZIP")
|
||||
PACKAGES["gzip"].concat(gzip.shellsplit)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue