mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
autobuild: only add autobuild.log if it exists
this makes running autobuild on other than sn-devel easier
This commit is contained in:
parent
c24240bcd2
commit
1e2c1c8942
@ -215,7 +215,8 @@ class buildlist(object):
|
||||
for b in self.tlist:
|
||||
tar.add(b.stdout_path, arcname="%s.stdout" % b.tag)
|
||||
tar.add(b.stderr_path, arcname="%s.stderr" % b.tag)
|
||||
tar.add("autobuild.log")
|
||||
if os.path.exists("autobuild.log"):
|
||||
tar.add("autobuild.log")
|
||||
tar.close()
|
||||
|
||||
def remove_logs(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user