File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff 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" ) ;
You can’t perform that action at this time.
0 commit comments