Skip to content

Commit

Permalink
bootstrap: use tar -z on extract
Browse files Browse the repository at this point in the history
Some tar(1) programs—such as NetBSD's—do not automatically decompress.
  • Loading branch information
jakllsch committed Sep 27, 2017
1 parent b53b853 commit 90aa66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ impl Step for Openssl {
let dst = build.openssl_install_dir(target).unwrap();
drop(fs::remove_dir_all(&obj));
drop(fs::remove_dir_all(&dst));
build.run(Command::new("tar").arg("xf").arg(&tarball).current_dir(&out));
build.run(Command::new("tar").arg("zxf").arg(&tarball).current_dir(&out));

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

0 comments on commit 90aa66b

Please sign in to comment.