[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - app.py:1.57

Fred L. Drake, Jr. fred at zope.com
Fri May 7 14:08:58 EDT 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv4592

Modified Files:
	app.py 
Log Message:
For now, generate a .tgz instead of a .tar.bz2; more of the Windows
tools support it.  We can support configurable selection later.


=== Packages/zpkgtools/zpkgtools/app.py 1.56 => 1.57 ===
--- Packages/zpkgtools/zpkgtools/app.py:1.56	Wed May  5 16:55:34 2004
+++ Packages/zpkgtools/zpkgtools/app.py	Fri May  7 14:08:57 2004
@@ -89,7 +89,7 @@
         #
         release_name = self.options.release_name
         self.target_name = "%s-%s" % (release_name, self.options.version)
-        self.target_file = self.target_name + ".tar.bz2"
+        self.target_file = self.target_name + ".tgz"
         self.destination = os.path.join(self.tmpdir, self.target_name)
         os.mkdir(self.destination)
 
@@ -251,7 +251,7 @@
         """
         pwd = os.getcwd()
         os.chdir(self.tmpdir)
-        cmdline = ("tar", "cjf", self.target_file, self.target_name)
+        cmdline = ("tar", "czf", self.target_file, self.target_name)
         runlog.report_command(" ".join(cmdline))
         try:
             rc = os.spawnlp(os.P_WAIT, cmdline[0], *cmdline)




More information about the Zope-CVS mailing list