summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-03-30 22:24:24 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-03-30 22:24:24 +1100
commit21386f956ea38620559f36ff31caede0aada5977 (patch)
treeff81b8935031b2afcfe8b78e850b04096eac116d
parent59fddb21090c76bed06fdb1edb00c23971820164 (diff)
downloadmongo-21386f956ea38620559f36ff31caede0aada5977.tar.gz
Remove the release tree after creating the tarball.
-rwxr-xr-xdist/s_release2
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/s_release b/dist/s_release
index 8429795a08c..e50c96393ef 100755
--- a/dist/s_release
+++ b/dist/s_release
@@ -47,3 +47,5 @@ echo "Packing release into $RELEASE_DIR/$PKG.tar.bz2"
echo "Packing documentation into $RELEASE_DIR/$PKG-docs.tar.bz2"
(cd "$RELEASE_DIR" && tar cf - $PKG/[A-Z][A-Z]* $PKG/docs | \
bzip2 -9 > $PKG-docs.tar.bz2)
+
+rm -r $DEST