diff options
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index 6f85311..4e29021 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -989,27 +989,28 @@ class LinuxManifest(ViewerManifest): | |||
989 | 989 | ||
990 | # Disabled for now. It's a waste of time to package every compile. | 990 | # Disabled for now. It's a waste of time to package every compile. |
991 | # Hmm, need a way to turn this on and off. | 991 | # Hmm, need a way to turn this on and off. |
992 | 992 | # Looks like upstream found a way, delete this crap after testing. | |
993 | if("package" in self.args['actions'] or | 993 | |
994 | "unpacked" in self.args['actions']): | 994 | # if("package" in self.args['actions'] or |
995 | 995 | # "unpacked" in self.args['actions']): | |
996 | # temporarily move directory tree so that it has the right | 996 | # |
997 | # name in the tarfile | 997 | # # temporarily move directory tree so that it has the right |
998 | self.run_command("mv %(dst)s %(inst)s" % { | 998 | # # name in the tarfile |
999 | 'dst': self.get_dst_prefix(), | 999 | # self.run_command("mv %(dst)s %(inst)s" % { |
1000 | 'inst': self.build_path_of(installer_name)}) | 1000 | # 'dst': self.get_dst_prefix(), |
1001 | try: | 1001 | # 'inst': self.build_path_of(installer_name)}) |
1002 | # --numeric-owner hides the username of the builder for | 1002 | # try: |
1003 | # security etc. | 1003 | # # --numeric-owner hides the username of the builder for |
1004 | self.run_command('tar -C %(dir)s --numeric-owner -cjf ' | 1004 | # # security etc. |
1005 | '%(inst_path)s.tar.bz2 %(inst_name)s' % { | 1005 | # self.run_command('tar -C %(dir)s --numeric-owner -cjf ' |
1006 | 'dir': self.get_build_prefix(), | 1006 | # '%(inst_path)s.tar.bz2 %(inst_name)s' % { |
1007 | 'inst_name': installer_name, | 1007 | # 'dir': self.get_build_prefix(), |
1008 | 'inst_path':self.build_path_of(installer_name)}) | 1008 | # 'inst_name': installer_name, |
1009 | finally: | 1009 | # 'inst_path':self.build_path_of(installer_name)}) |
1010 | self.run_command("mv %(inst)s %(dst)s" % { | 1010 | # finally: |
1011 | 'dst': self.get_dst_prefix(), | 1011 | # self.run_command("mv %(inst)s %(dst)s" % { |
1012 | 'inst': self.build_path_of(installer_name)}) | 1012 | # 'dst': self.get_dst_prefix(), |
1013 | # 'inst': self.build_path_of(installer_name)}) | ||
1013 | 1014 | ||
1014 | class Linux_i686Manifest(LinuxManifest): | 1015 | class Linux_i686Manifest(LinuxManifest): |
1015 | def construct(self): | 1016 | def construct(self): |