summaryrefslogtreecommitdiff
path: root/buildscripts/makealldists.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/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