Skip to content

Commit 5526d90

Browse files
committed
bootstrap: extract from any compression algorithm during distcheck
1 parent d0d0ee0 commit 5526d90

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/bootstrap/test.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ impl Step for Distcheck {
19681968
builder.ensure(dist::Src);
19691969

19701970
let mut cmd = Command::new("tar");
1971-
cmd.arg("-xzf")
1971+
cmd.arg("-xf")
19721972
.arg(builder.ensure(dist::PlainSourceTarball))
19731973
.arg("--strip-components=1")
19741974
.current_dir(&dir);
@@ -1992,10 +1992,7 @@ impl Step for Distcheck {
19921992
t!(fs::create_dir_all(&dir));
19931993

19941994
let mut cmd = Command::new("tar");
1995-
cmd.arg("-xzf")
1996-
.arg(builder.ensure(dist::Src))
1997-
.arg("--strip-components=1")
1998-
.current_dir(&dir);
1995+
cmd.arg("-xf").arg(builder.ensure(dist::Src)).arg("--strip-components=1").current_dir(&dir);
19991996
builder.run(&mut cmd);
20001997

20011998
let toml = dir.join("rust-src/lib/rustlib/src/rust/library/std/Cargo.toml");

0 commit comments

Comments
 (0)