From dcbe10044808d39c890fd26677374981147fe1f5 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Fri, 22 Jan 2010 15:55:41 -0800 Subject: Linux: Don't strip or tar the viewer if it's not a release build. This is some more work towards making RelWithDebInfo very developer-friendly. --- indra/newview/viewer_manifest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 00a903431a..15a51bbe14 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -822,8 +822,8 @@ class LinuxManifest(ViewerManifest): 'dst': self.get_dst_prefix(), 'inst': self.build_path_of(installer_name)}) try: - # only create tarball if it's not a debug build. - if self.args['buildtype'].lower() != 'debug': + # only create tarball if it's a release build. + if self.args['buildtype'].lower() == 'release': # --numeric-owner hides the username of the builder for # security etc. self.run_command('tar -C %(dir)s --numeric-owner -cjf ' @@ -855,7 +855,7 @@ class Linux_i686Manifest(LinuxManifest): pass - if(self.args['buildtype'].lower() != 'debug'): + if(self.args['buildtype'].lower() == 'release'): print "* packaging stripped viewer binary." self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") else: -- cgit v1.2.3