Skip to content

Commit 90aa66b

Browse files
committed
bootstrap: use tar -z on extract
Some tar(1) programs—such as NetBSD's—do not automatically decompress.
1 parent b53b853 commit 90aa66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ impl Step for Openssl {
387387
let dst = build.openssl_install_dir(target).unwrap();
388388
drop(fs::remove_dir_all(&obj));
389389
drop(fs::remove_dir_all(&dst));
390-
build.run(Command::new("tar").arg("xf").arg(&tarball).current_dir(&out));
390+
build.run(Command::new("tar").arg("zxf").arg(&tarball).current_dir(&out));
391391

392392
let mut configure = Command::new("perl");
393393
configure.arg(obj.join("Configure"));

0 commit comments

Comments
 (0)