aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-28 13:56:00 -0500
committerJacek Antonelli2008-09-28 19:55:41 -0500
commit9a4f5702473e7540cde1bbff2d7189d9ed71fd86 (patch)
tree53d52a965085be43c89ef45592a8198f7befc4be /linden/indra/newview/viewer_manifest.py
parentSecond Life viewer sources 1.21.2-RC (diff)
parentMerge branch 'VWR-8341' into next-merge (diff)
downloadmeta-impy-9a4f5702473e7540cde1bbff2d7189d9ed71fd86.zip
meta-impy-9a4f5702473e7540cde1bbff2d7189d9ed71fd86.tar.gz
meta-impy-9a4f5702473e7540cde1bbff2d7189d9ed71fd86.tar.bz2
meta-impy-9a4f5702473e7540cde1bbff2d7189d9ed71fd86.tar.xz
Updated to SL source 1.21.2.
Conflicts: linden/indra/SConstruct linden/indra/newview/files.lst linden/indra/newview/llfloatertools.cpp linden/indra/newview/llfloatertools.h linden/indra/newview/lloverlaybar.cpp linden/indra/newview/lloverlaybar.h linden/indra/newview/llviewermenu.cpp linden/indra/newview/skins/default/xui/en-us/floater_tools.xml linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml linden/indra/newview/skins/default/xui/en-us/panel_overlaybar.xml linden/indra/newview/viewer_manifest.py
Diffstat (limited to '')
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py35
1 files changed, 20 insertions, 15 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index 718d6e6..fe894a7 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -570,25 +570,30 @@ class LinuxManifest(ViewerManifest):
570 find %(dst)s -type f -perm 0600 | xargs --no-run-if-empty chmod 0644; 570 find %(dst)s -type f -perm 0600 | xargs --no-run-if-empty chmod 0644;
571 find %(dst)s -type f -perm 0400 | xargs --no-run-if-empty chmod 0444; 571 find %(dst)s -type f -perm 0400 | xargs --no-run-if-empty chmod 0444;
572 true""" % {'dst':self.get_dst_prefix() }) 572 true""" % {'dst':self.get_dst_prefix() })
573
573 self.package_file = installer_name + '.tar.bz2' 574 self.package_file = installer_name + '.tar.bz2'
574 575
575 # temporarily move directory tree so that it has the right 576 if("package" in self.args['actions'] or
576 # name in the tarfile 577 "unpacked" in self.args['actions']):
577 self.run_command("mv %(dst)s %(inst)s" % { 578
578 'dst': self.get_dst_prefix(), 579 # temporarily move directory tree so that it has the right
579 'inst': self.build_path_of(installer_name)}) 580 # name in the tarfile
580 try: 581 self.run_command("mv %(dst)s %(inst)s" % {
581 # --numeric-owner hides the username of the builder for
582 # security etc.
583 self.run_command('tar -C %(dir)s --numeric-owner -cjf '
584 '%(inst_path)s.tar.bz2 %(inst_name)s' % {
585 'dir': self.get_build_prefix(),
586 'inst_name': installer_name,
587 'inst_path':self.build_path_of(installer_name)})
588 finally:
589 self.run_command("mv %(inst)s %(dst)s" % {
590 'dst': self.get_dst_prefix(), 582 'dst': self.get_dst_prefix(),
591 'inst': self.build_path_of(installer_name)}) 583 'inst': self.build_path_of(installer_name)})
584 try:
585 # --numeric-owner hides the username of the builder for
586 # security etc.
587 self.run_command('tar -C %(dir)s --numeric-owner -cjf '
588 '%(inst_path)s.tar.bz2 %(inst_name)s' % {
589 'dir': self.get_build_prefix(),
590 'inst_name': installer_name,
591 'inst_path':self.build_path_of(installer_name)})
592 finally:
593 self.run_command("mv %(inst)s %(dst)s" % {
594 'dst': self.get_dst_prefix(),
595 'inst': self.build_path_of(installer_name)})
596
592 597
593class Linux_i686Manifest(LinuxManifest): 598class Linux_i686Manifest(LinuxManifest):
594 def construct(self): 599 def construct(self):