Re-enable generating tarballs when packaging on Linux

This commit is contained in:
Latif Khalifa
2013-11-19 00:52:59 +01:00
parent cce3809a26
commit c6ec03ab19

View File

@@ -806,12 +806,11 @@ class LinuxManifest(ViewerManifest):
try:
# --numeric-owner hides the username of the builder for
# security etc.
# I'm leaving this disabled for speed
#self.run_command("tar -C '%(dir)s' --numeric-owner -cjf "
# "'%(inst_path)s.tar.bz2' %(inst_name)s" % {
# 'dir': self.get_build_prefix(),
# 'inst_name': installer_name,
# 'inst_path':self.build_path_of(installer_name)})
self.run_command("tar -C '%(dir)s' --numeric-owner -cjf "
"'%(inst_path)s.tar.bz2' %(inst_name)s" % {
'dir': self.get_build_prefix(),
'inst_name': installer_name,
'inst_path':self.build_path_of(installer_name)})
print ''
finally:
self.run_command("mv '%(inst)s' '%(dst)s'" % {