diff options
| author | Nicolas Vigier <boklm@torproject.org> | 2018-01-18 13:58:20 +0100 |
|---|---|---|
| committer | Nicolas Vigier <boklm@torproject.org> | 2018-01-18 13:58:20 +0100 |
| commit | 476391e2c8a808acec3b6c6429dddd9f6280d783 (patch) | |
| tree | 19d588105770b8d171ddeda9c67cdee8a2e2f34d | |
| parent | 5c89374df7957238a9565c0b938ee3f30f880438 (diff) | |
Bug 24931: fix the build_log_append optionbug_24931
Fix a regression introduced by #24361.
| -rw-r--r-- | lib/RBM.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |
