if outputdir is defined, write dates file there

This introduces a new variable OUTPUTDIR, which overrides the location where
the new dates file is written. This allow to run britney against a read-only
copy of the data.

Signed-off-by: Niels Thykier <niels@thykier.net>
bzr-import-20160707
Ivo De Decker 11 years ago committed by Niels Thykier
parent a2d1793ab6
commit c7c16a2a25

@ -2368,6 +2368,9 @@ class Britney(object):
self.write_controlfiles(self.options.testing, 'testing')
# write dates
try:
self.write_dates(self.options.outputdir, self.dates)
except AttributeError:
self.write_dates(self.options.testing, self.dates)
# write HeidiResult

Loading…
Cancel
Save