bug 469814 - Nightly mac builds contain .dSYM bundles. do some better cleanup when building symbols. r=bsmedberg

This commit is contained in:
Ted Mielczarek 2008-12-24 14:04:43 -05:00
Родитель 27fccf6954
Коммит 87ee54f76c
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -691,7 +691,10 @@ class Dumper_Mac(Dumper):
# dsymutil takes --arch=foo instead of -a foo like everything else
os.system("dsymutil %s %s >/dev/null" % (' '.join([a.replace('-a ', '--arch=') for a in self.archs]),
file))
return Dumper.ProcessFile(self, dsymbundle)
res = Dumper.ProcessFile(self, dsymbundle)
if not self.copy_debug:
shutil.rmtree(dsymbundle)
return res
# Entry point if called as a standalone program
def main():