From 434d6fcc99edf04af746d4f0e7173b6ea1fcc0cc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 29 Aug 2010 11:11:26 -0700 Subject: [PATCH] Make mkrelease.sh clean up the temporary $SOURCE_DIR when finished. --- mkrelease.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkrelease.sh b/mkrelease.sh index f9ecd4669..221d8a8b9 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -69,6 +69,8 @@ cp -a "${SOURCE_DIR}/"{bin,cnf,doc,man,pym} "${RELEASE_DIR}/" || die "directory cp "${SOURCE_DIR}/"{DEVELOPING,LICENSE,NEWS,RELEASE-NOTES,TEST-NOTES} \ "${RELEASE_DIR}/" || die "file copy failed" +rm -rf "$SOURCE_DIR" || die "directory cleanup failed" + echo ">>> Creating Changelog" git_log_opts="" [ -n "$CHANGELOG_REVISION" ] && git_log_opts+=" $CHANGELOG_REVISION^.." -- 2.26.2