summaryrefslogtreecommitdiff
path: root/admin/bin/Release.py
diff options
context:
space:
mode:
authorbwarsaw2002-12-31 04:11:03 +0000
committerbwarsaw2002-12-31 04:11:03 +0000
commitc57960fd3c4beb7562619d6c0569ca5fc1e2e39e (patch)
treeac0a0e57ce21f2506843bf95ddba2a66b063f8ed /admin/bin/Release.py
parent0d39165e5d3c4f8f1567c65f49691495d3cd8351 (diff)
downloadmailman-c57960fd3c4beb7562619d6c0569ca5fc1e2e39e.tar.gz
mailman-c57960fd3c4beb7562619d6c0569ca5fc1e2e39e.tar.zst
mailman-c57960fd3c4beb7562619d6c0569ca5fc1e2e39e.zip
Diffstat (limited to 'admin/bin/Release.py')
-rwxr-xr-xadmin/bin/Release.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/admin/bin/Release.py b/admin/bin/Release.py
index 17e77e055..227cdb5a9 100755
--- a/admin/bin/Release.py
+++ b/admin/bin/Release.py
@@ -84,7 +84,8 @@ def tag2rel(tagname):
def cvsdo(cvscmd):
# I don't know why -d is suddenly required -- $CVSROOT used to work just
# fine but now (RH7.3) doesn't at all.
- os.system('cvs -d %s %s' % (os.environ['CVSROOT'], cvscmd))
+ cmd = 'cvs -d %s %s' % (os.environ['CVSROOT'], cvscmd)
+ os.system(cmd)
def tag_release(tagname, retag):
# Convert dots in tagname to underscores
@@ -105,9 +106,7 @@ def checkout(tagname, tail):
def make_pkg(tagname):
dir = releasedir(tagname)
- print 'Creating release dir', dir, '...'
- if not os.path.isdir(dir):
- os.mkdir(dir)
+ print 'Exporting release dir', dir, '...'
head, tail = os.path.split(dir)
# this can't be done from a working directory
curdir = os.getcwd()