Use unxz instead of xz -d.

This commit is contained in:
Markus Reiter 2018-07-16 19:40:29 +02:00
parent 589c5b4e8d
commit c5b1bb9377

View File

@ -199,7 +199,7 @@ class XzUnpackStrategy < UnpackStrategy
def extract_to_dir(unpack_dir, basename:) def extract_to_dir(unpack_dir, basename:)
super super
safe_system Formula["xz"].opt_bin/"xz", "-d", "-q", "-T0", unpack_dir/basename safe_system Formula["xz"].opt_bin/"unxz", "-q", "-T0", unpack_dir/basename
extract_nested_tar(unpack_dir, basename: basename) extract_nested_tar(unpack_dir, basename: basename)
end end