From 62387ed2a410d753a4cbc66752e99beec0d661e6 Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 16 Feb 2016 19:07:33 +0100 Subject: [PATCH] Linux: Remove debug.log if present. --- indra/newview/fs_viewer_manifest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/fs_viewer_manifest.py b/indra/newview/fs_viewer_manifest.py index 06a5c072bd..ca5a9aac60 100644 --- a/indra/newview/fs_viewer_manifest.py +++ b/indra/newview/fs_viewer_manifest.py @@ -70,6 +70,11 @@ class FSViewerManifest: if os.path.exists( debugDir ): from shutil import rmtree rmtree( debugDir ) + + debugFile = os.path.join( self.get_dst_prefix(), "bin", "debug.log" ) + + if os.path.isfile( debugFile ): + os.unlink( debugFile ) def fs_save_linux_symbols( self ): #AO: Try to package up symbols