commit 476391e2c8a808acec3b6c6429dddd9f6280d783 Author: Nicolas Vigier boklm@torproject.org Date: Thu Jan 18 13:58:20 2018 +0100
Bug 24931: fix the build_log_append option
Fix a regression introduced by #24361. --- lib/RBM.pm | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/RBM.pm b/lib/RBM.pm index 73b7d6c..3b19ca9 100644 --- a/lib/RBM.pm +++ b/lib/RBM.pm @@ -1035,6 +1035,7 @@ sub build_run { if ($build_log ne '-') { my $append = project_config($project, "build_log_append", $options); $build_log = rbm_path($build_log); + unlink $build_log unless $append; make_path(dirname($build_log)); my $now = localtime; path($build_log)->append_utf8("Starting build: $now\n");
tor-commits@lists.torproject.org