commit | ba82878a3bee6395a8ff13c9c307416a886f93cc | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Apr 03 04:19:14 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Apr 03 04:19:14 2000 +0000 |
tree | 0711fbad046195399f506dc7b3dcf76ef452ea33 | |
parent | a22b576d05d7f7b8f70341268a46c219a3fd6a9c [diff] [blame] |
Merged changes from the 1.5.2p2 release.
diff --git a/Doc/tools/mksourcepkg b/Doc/tools/mksourcepkg index 00c6c50..260ae6d 100755 --- a/Doc/tools/mksourcepkg +++ b/Doc/tools/mksourcepkg
@@ -105,7 +105,9 @@ run("tar cf - Python-%s | gzip -9 >%s.tgz" % (release, archive)) elif format == "zip": - run("zip -r9 %s.zip Python-%s" + if os.path.exists(archive + ".zip"): + os.unlink(archive + ".zip") + run("zip -q -r9 %s.zip Python-%s" % (archive, release)) # clean up the work area: