File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 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 {
12201220 let _ = fs:: remove_dir_all ( & dir) ;
12211221 t ! ( fs:: create_dir_all( & dir) ) ;
12221222
1223+ // Guarantee that these are built before we begin running.
1224+ builder. ensure ( dist:: PlainSourceTarball ) ;
1225+ builder. ensure ( dist:: Src ) ;
1226+
12231227 let mut cmd = Command :: new ( "tar" ) ;
12241228 cmd. arg ( "-xzf" )
12251229 . arg ( builder. ensure ( dist:: PlainSourceTarball ) )
Original file line number Diff line number Diff line change @@ -875,9 +875,10 @@ impl Step for PlainSourceTarball {
875875 let mut tarball = distdir ( build) . join ( & format ! ( "{}.tar.gz" , plain_name) ) ;
876876 tarball. set_extension ( "" ) ; // strip .gz
877877 tarball. set_extension ( "" ) ; // strip .tar
878- if let Some ( dir) = distdir ( build ) . parent ( ) {
878+ if let Some ( dir) = tarball . parent ( ) {
879879 t ! ( fs:: create_dir_all( dir) ) ;
880880 }
881+ println ! ( "running installer" ) ;
881882 let mut cmd = rust_installer ( builder) ;
882883 cmd. arg ( "tarball" )
883884 . arg ( "--input" ) . arg ( & plain_name)
You can’t perform that action at this time.
0 commit comments