summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-04-08 13:24:08 -0400
committerRichard Kreuter <richard@10gen.com>2010-04-08 13:24:08 -0400
commit2c284c7aa7658a6a8a918cf67056e66710d9ce8b (patch)
treef73be4da9612968db1fd6fe452e9e570d97a9dba
parent06f0c91b87e62ccaafd65c0f59a5c6f368f0fb2f (diff)
downloadmongo-2c284c7aa7658a6a8a918cf67056e66710d9ce8b.tar.gz
Fix cut-n-paste-o in makealldists.py
-rwxr-xr-xbuildscripts/makealldists.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/buildscripts/makealldists.py b/buildscripts/makealldists.py
index 0a3c5207a08..e463ff67abb 100755
--- a/buildscripts/makealldists.py
+++ b/buildscripts/makealldists.py
@@ -35,10 +35,6 @@ def pushrepo(repodir):
# FIXME: delete the old
[bucket.delete(olddeb) for olddeb in olddebs]
- shutil.rmtree(outputroot)
- shutil.rmtree(mergedir)
- shutil.rmtree(repodir)
-
def cat (inh, outh):
inh.seek(0)
for line in inh:
@@ -241,6 +237,9 @@ def __main__():
raise Exception("mergerepositories.py exited %d" % r)
print repodir
pushrepo(repodir)
+ shutil.rmtree(outputroot)
+ shutil.rmtree(mergedir)
+ shutil.rmtree(repodir)
return 0