mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									7eef861a15
								
							
						
					
					
						commit
						581204696c
					
				@ -2368,7 +2368,10 @@ class Britney(object):
 | 
			
		||||
                self.write_controlfiles(self.options.testing, 'testing')
 | 
			
		||||
 | 
			
		||||
            # write dates
 | 
			
		||||
            self.write_dates(self.options.testing, self.dates)
 | 
			
		||||
            try:
 | 
			
		||||
                self.write_dates(self.options.outputdir, self.dates)
 | 
			
		||||
            except AttributeError:
 | 
			
		||||
                self.write_dates(self.options.testing, self.dates)
 | 
			
		||||
 | 
			
		||||
            # write HeidiResult
 | 
			
		||||
            self.__log("Writing Heidi results to %s" % self.options.heidi_output)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user