commit b7f534d6bdbaba7ee83fdf8d7068ec349470e8c7 Author: Nicolas Vigier boklm@torproject.org Date: Tue Apr 27 16:50:51 2021 +0200
Bug 40024: Only create source tarball after getting all input_files --- lib/RBM.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/RBM.pm b/lib/RBM.pm index d2aeab2..bc509cb 100644 --- a/lib/RBM.pm +++ b/lib/RBM.pm @@ -1033,10 +1033,10 @@ sub build_run { . '/rbm-XXXXX'); my $srcdir = $tmpdir->dirname; my @cfiles; - my $tarfile = maketar($project, $options, $srcdir); - push @cfiles, $tarfile if $tarfile; push @cfiles, copy_files($project, $srcdir); push @cfiles, input_files('copy', $project, $options, $srcdir); + my $tarfile = maketar($project, $options, $srcdir); + push @cfiles, $tarfile if $tarfile; my ($remote_tmp_src, $remote_tmp_dst, %build_script); my @scripts = ('pre', $script_name, 'post'); my %scripts_root = ( pre => 1, post => 1);
tbb-commits@lists.torproject.org