File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1220,6 +1220,10 @@ impl Step for Distcheck {
1220
1220
let _ = fs:: remove_dir_all ( & dir) ;
1221
1221
t ! ( fs:: create_dir_all( & dir) ) ;
1222
1222
1223
+ // Guarantee that these are built before we begin running.
1224
+ builder. ensure ( dist:: PlainSourceTarball ) ;
1225
+ builder. ensure ( dist:: Src ) ;
1226
+
1223
1227
let mut cmd = Command :: new ( "tar" ) ;
1224
1228
cmd. arg ( "-xzf" )
1225
1229
. arg ( builder. ensure ( dist:: PlainSourceTarball ) )
Original file line number Diff line number Diff line change @@ -875,9 +875,10 @@ impl Step for PlainSourceTarball {
875
875
let mut tarball = distdir ( build) . join ( & format ! ( "{}.tar.gz" , plain_name) ) ;
876
876
tarball. set_extension ( "" ) ; // strip .gz
877
877
tarball. set_extension ( "" ) ; // strip .tar
878
- if let Some ( dir) = distdir ( build ) . parent ( ) {
878
+ if let Some ( dir) = tarball . parent ( ) {
879
879
t ! ( fs:: create_dir_all( dir) ) ;
880
880
}
881
+ println ! ( "running installer" ) ;
881
882
let mut cmd = rust_installer ( builder) ;
882
883
cmd. arg ( "tarball" )
883
884
. arg ( "--input" ) . arg ( & plain_name)
You can’t perform that action at this time.
0 commit comments