1
0
Fork 0
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:
Kazuhiro NISHIYAMA 2019-08-30 00:35:18 +09:00
parent c52d38b7b6
commit a8b310e14c
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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