We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d0ee0 commit 5526d90Copy full SHA for 5526d90
src/bootstrap/test.rs
@@ -1968,7 +1968,7 @@ impl Step for Distcheck {
1968
builder.ensure(dist::Src);
1969
1970
let mut cmd = Command::new("tar");
1971
- cmd.arg("-xzf")
+ cmd.arg("-xf")
1972
.arg(builder.ensure(dist::PlainSourceTarball))
1973
.arg("--strip-components=1")
1974
.current_dir(&dir);
@@ -1992,10 +1992,7 @@ impl Step for Distcheck {
1992
t!(fs::create_dir_all(&dir));
1993
1994
1995
1996
- .arg(builder.ensure(dist::Src))
1997
- .arg("--strip-components=1")
1998
- .current_dir(&dir);
+ cmd.arg("-xf").arg(builder.ensure(dist::Src)).arg("--strip-components=1").current_dir(&dir);
1999
builder.run(&mut cmd);
2000
2001
let toml = dir.join("rust-src/lib/rustlib/src/rust/library/std/Cargo.toml");
0 commit comments