boklm pushed to branch main at The Tor Project / Applications / RBM


Commits:
fb51b232 by Nicolas Vigier at 2023-09-18T08:30:49+02:00
Bug 40061: Log copy of input_files when the RBM_VERBOSE_LOG environment 
variable is set

- - - - -


1 changed file:

- lib/RBM.pm


Changes:

=====================================
lib/RBM.pm
=====================================
@@ -1229,6 +1229,10 @@ sub build_run {
                     exec_name => 'put',
                     exec_as_root => 0,
                 });
+            if ($ENV{RBM_VERBOSE_LOG}) {
+                my $now = localtime;
+                path($build_log)->append_utf8("[$now] Copying file $file\n");
+            }
             if (run_script($project, $cmd, sub { system(@_) }) != 0) {
                 $error = "Error uploading $file";
                 goto EXIT;



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/fb51b232ea9281032762df30211400139ff80275

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/fb51b232ea9281032762df30211400139ff80275
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to