Skip to content
Snippets Groups Projects
Commit dcbe1004 authored by Tofu Linden's avatar Tofu Linden
Browse files

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.
parent 4cf79224
No related branches found
No related tags found
No related merge requests found
...@@ -822,8 +822,8 @@ def package_finish(self): ...@@ -822,8 +822,8 @@ def package_finish(self):
'dst': self.get_dst_prefix(), 'dst': self.get_dst_prefix(),
'inst': self.build_path_of(installer_name)}) 'inst': self.build_path_of(installer_name)})
try: try:
# only create tarball if it's not a debug build. # only create tarball if it's a release build.
if self.args['buildtype'].lower() != 'debug': if self.args['buildtype'].lower() == 'release':
# --numeric-owner hides the username of the builder for # --numeric-owner hides the username of the builder for
# security etc. # security etc.
self.run_command('tar -C %(dir)s --numeric-owner -cjf ' self.run_command('tar -C %(dir)s --numeric-owner -cjf '
...@@ -855,7 +855,7 @@ def construct(self): ...@@ -855,7 +855,7 @@ def construct(self):
pass pass
if(self.args['buildtype'].lower() != 'debug'): if(self.args['buildtype'].lower() == 'release'):
print "* packaging stripped viewer binary." print "* packaging stripped viewer binary."
self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin")
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment