[tbb-commits] [Git][tpo/applications/rbm][main] Bug 40061: Log copy of input_files when the RBM_VERBOSE_LOG environment variable is set
boklm (@boklm)
git at gitlab.torproject.org
Mon Sep 18 14:49:17 UTC 2023
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230918/0679646d/attachment.htm>
More information about the tbb-commits
mailing list